Search:

Type: Posts; User: Junky

Search: Search took 0.11 seconds.

  1. Thread: While Loop help

    by Junky
    Replies
    10
    Views
    1,188

    Re: While Loop help

    Your first post was full of incorrect information.

    NO! Count is the name of the variable and its type is an int. There is no String involved.

    NO! Conditional statements do not compare the...
  2. Thread: While Loop help

    by Junky
    Replies
    10
    Views
    1,188

    Re: While Loop help

    while user has not entered five numbers {
    prompt for input
    add input to sum
    increment counter
    }
    display result

    You only need three variables: current input, sum, counter.
Results 1 to 2 of 2