Search:

Type: Posts; User: GregBrannon

Search: Search took 0.17 seconds.

  1. Replies
    10
    Views
    1,203

    Re: While Loop help

    You can use a while() loop to collect 5 numbers and calculate and print the sum using one variable. But if you want to store those 5 numbers in separate variables for later retrieval without the use...
  2. Replies
    10
    Views
    1,203

    Re: While Loop help

    Welcome! Excellent first post!

    I take it you don't know arrays yet? Using an array to store the user's input would dress up the loop and program a lot. Let us know if you can use arrays.
    ...
Results 1 to 2 of 2