December 2nd, 2012, 05:28 PM
Not sure which type of loop to use
As part of a project im doing, I want the user to input a choice from a menu(1,2,or3) if they pick one of these choices they get asked whether they want pick another item, if they pick yes they then pick another choice, if they pick no they leave this part of the screen. But I can't get the programm to keep running after they enter their choice for the 2nd time. I tried using a do while loop, but I got confused where to place "Do you want to order again". Here is my code for it.
The code tags made my code look worse?
December 3rd, 2012, 02:38 AM
Format your codes
Could you please format your codes properly using the CODE tag? It is really hard for us to read your codes and to catch any syntax errors with missing braces.
Please properly indent your codes to increase readability.
When the programming world turns decent, the real world will turn upside down.