Thanks for the help! I place it above the do statment it worked fine.
I am new to c programming and I am taking my first intro to C class
this was not covered in any of my materials yet.
I...
Type: Posts; User: jm0825
Thanks for the help! I place it above the do statment it worked fine.
I am new to c programming and I am taking my first intro to C class
this was not covered in any of my materials yet.
I...
Do I insert this before the do statement or inside at the top of the do while?
Thanks
Jack
I thought I would use a do-while because it always loops once anyway
After a numberic value is entered I thought it would prompt for the char entry.
But it is falling all the the way thru; failing...
Sorry, Brain dead.... Changed the ==1 to 0 it works fine.
Thanks
Jack
"Your comments do not match what you say they're doing."
Please enlighten me....
The values I am setting right now are to test and make sure it works.
if I enter a 5 it prompts me to enter another number. If I enter a number above 10
it tells me "invalid entry please try...
The program compiles, but when I enter the number 22 it falls out of the while loop. I want to tell the operator that they entered an incorrect value and please try again and again.... if...
Thank for the help!
I am new to C programming. I have looked through the tutorials and have not been able to find this.
I have not been able to find a way to process a printf statement and keep it it the same place...