I'm trying to make a loop that would only stop after a user has inputted a positive number, and would loop if a negative num or a char were typed in.
do{
printf ("Enter a Decimal number: ");...
Type: Posts; User: Akaii
I'm trying to make a loop that would only stop after a user has inputted a positive number, and would loop if a negative num or a char were typed in.
do{
printf ("Enter a Decimal number: ");...
Thanks a lot! ...finally got it workin'.
Walt: I haven't thought of using Case for this... thanks for the advice. I'll look up strcat...