Search:

Type: Posts; User: Zula

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    1,896

    Re: text.length method problem?

    Seems to work for me...


    import java.util.*;

    public class Vowels2{
    public static void main(String[] args){
    Scanner console = new Scanner(System.in);

    int counter= 0;
  2. Replies
    6
    Views
    1,896

    Re: text.length method problem?

    Use console.nextLine(), as next returns only the first word of the input
Results 1 to 2 of 2