Search:

Type: Posts; User: Hazmat210

Search: Search took 0.10 seconds.

  1. [SOLVED] Re: Please help with my while loop that turned into infinite loop!

    So thank you to all who replied. Big thank you too Norm I guess I really need to sit down sketch out the logic and then write the code.
    Here is the rewritten working code.





    import...
  2. [SOLVED] Re: Please help with my while loop that turned into infinite loop!

    Ok, so i need to include the menu inside the while statement I see I will post new code here as soon as I get a chance I really do appreciate the help.
  3. [SOLVED] Re: Please help with my while loop that turned into infinite loop!

    How do I do that? I thought that's what the break was for in the switch.
  4. [SOLVED] Re: Please help with my while loop that turned into infinite loop!

    I initially wrote the code without the if else statement and the loop was still infinite it just keep displaying the equation until I closed the program. But I can see how the if else statement makes...
  5. [SOLVED] Re: Please help with my while loop that turned into infinite loop!

    Thank you for the replies the program should go like this:

    Display five options for a calculation
    Ask for selection
    First integer
    Second integer
    if 5 is selected program terminates.
    else...
  6. [SOLVED] Please help with my while loop that turned into infinite loop!

    I wrote the code below for class assignment was to create program that does a calculation based on unput from menu and would continue to loop until user inputed exit number. But when compiled instead...
Results 1 to 6 of 6