Search:

Type: Posts; User: xcaldk74

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    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?
  2. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    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?
  3. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    Lucky,

    remove but from where from int? or while?
  4. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    **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...
  5. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    Enter a line of text: aAe
    5
    1

    my loop:


    while(countOne<input.length())
    {
    ...
  6. Replies
    13
    Views
    1,493

    Re: Problem with the loop ..... ;(

    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
  7. Replies
    13
    Views
    1,493

    Problem with the loop ..... ;(

    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...
Results 1 to 7 of 7