Search:

Type: Posts; User: Blasfemmy

Search: Search took 0.11 seconds.

  1. [SOLVED] Re: Would you use a do-while for the following....?

    Your error lies here: It should be
    if(number != -99) { Keep in mind that the user needs to be continuously prompted (loop) with the questions for entering a number. What this does is ask the...
  2. [SOLVED] Re: Would you use a do-while for the following....?

    The main differences between the three loops that you described are:
    A "do-while loop" checks to see if the condition is true or false after the code is executed.
    A "while loop" checks the...
  3. [SOLVED] Re: Would you use a do-while for the following....?

    If you break the problem down into small steps, then the problem will not seem nearly as complex.

    This is going to be your loop.

    In psuedocode:
    do {
    //prompts user to enter a...
  4. [SOLVED] Re: Would you use a do-while for the following....?

    Can you post your code so that we can look over what you have already done?
    Can you elaborate upon this? What error messages are you getting?...
Results 1 to 4 of 4