Sorry I still don't know what to do...
doublevar is a double not a char:
scanf(" %c %lf", &charvar, &doublevar);
Type: Posts; User: Charlie Lesoine
Sorry I still don't know what to do...
doublevar is a double not a char:
scanf(" %c %lf", &charvar, &doublevar);
I read the page you linked, but I am still not sure how to alter my code. I am a beginner...
If I have a scanf like this:
scanf(" %c %lf", &charvar, &doublevar);
How do I get the program to continue if the user only inputs the one char and no double character? For example if...