Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.07 seconds.

  1. Re: Java for loops to count vowels/consonants usinf the logic of the main

    You can do what Norm suggested (and use a different variable), or you can simply add the statement count = 0; after your System.out.println(" There are " + " " + count + " " + " vowels. ");...
  2. Re: Java for loops to count vowels/consonants usinf the logic of the main

    I think you might have a copy-and-paste mistake. Are you aware that you are checking for vowels in your check for consonants? Furthermore, are you aware the you do not reset your count variable to 0...
Results 1 to 2 of 2