Trying to compile a simple switch statement with 5 choices. 1-4 produce calculations and output while #5 exits the program. I made a do/while loop so if choice 5 is entered the program will end. I get
I am trying to make a stop button for this loop but it runs indefinite, nothing happens when i click button 2
How do I end the do-while loop when the user enters 0? The program will continue execution if the user enter F,G,H and J.
I\'m new to programming and I really want to learn writing a decent program. I am not exactly sure how to use EOF. My program was compiled and when I run it, it works fine except for the EOF part. The
I\'m having some problems with the php script below that I\'m currently working on. What I am trying to do is make a list with 5 events that are being shown ordered by date.
int sc1,sc2,a=0,b=0; do { printf(\"Give the scores\\n\"); scanf(\"%d %d\", &sc1,&sc2); //===============================================
I have a counter which counts to 4 in a loop, and a counter which counts how many of these loops have passed.
I am learning QT these days and I wanted to test do while loop , the actual login works in normally, but in QT the application freezes ..
This question already has answers here: Closed 11 years ago. Possible Duplicate: In C/C++ why does the do 开发者_如何学Gowhile(expression); need a semi colon?
This question already has answers here: Closed 11 years ago. Possible Duplicate: When is a do-while appropriate?