Search:

Type: Posts; User: xdx

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,531

    Re: A simple mistake I can't fix

    Thanks a lot as I have figured out that the problem was using the != assignment, Should have used !userInput equals(exit).
    Also, I do want to apologise to all the viewers, especially jps for not...
  2. Replies
    5
    Views
    1,531

    Re: A simple mistake I can't fix

    Hello,
    Thanks for your insight. The only problem my program has is the while loop. The program should keep on asking userInput and calculate uppercase and lowercase characters until the user types...
  3. Replies
    5
    Views
    1,531

    A simple mistake I can't fix

    String userInput;

    int lowerCase = 0, upperCase = 0;
    Scanner scan = new Scanner (System.in);

    System.out.println("Enter a word (type exit to finish) : ");

    userInput =...
Results 1 to 3 of 3