Luck so you mean a and A it is the same for java? so I should remove the counter A++; just leave a++ but what about declaration a=0, A=0; leave it right?
Type: Posts; User: xcaldk74
Luck so you mean a and A it is the same for java? so I should remove the counter A++; just leave a++ but what about declaration a=0, A=0; leave it right?
Hi,
thx for reply I don't know what that function does, my prof didn't go over this. What does it do? where do you put it?
Lucky,
remove but from where from int? or while?
**NOTE
when I'm going to remove //E ++; and //A++; output appears to be correct BUT I don't get it why? since SOP states System.out.println(e); AND NOT e+A where I need to get both lower and upper...
Enter a line of text: aAe
5
1
my loop:
while(countOne<input.length())
{
...
I'm sorry for that, the input should look like this:
Enter a line of text: aeiou AEIOU
A: 2
E: 2
I: 2
O: 2
U: 2
Hi java masters,
Problem with the loop where I'm not able to trace it in memory - looking for some advice/hint.
Program prompt the user to enter a line of text and then it iwll count how many...