/* Validation step*/
while (amount_entered %10) {
printf("Try again, you have entered an incorrect amount! \n\n");
printf("Please enter the amount (multiple of 10 dollars) you wish to...
Type: Posts; User: swicken
/* Validation step*/
while (amount_entered %10) {
printf("Try again, you have entered an incorrect amount! \n\n");
printf("Please enter the amount (multiple of 10 dollars) you wish to...
I have this much compliled and running, but I am stuck on how to place a validation step in the event the user inputs something not within the required input ($10 denominations). For instance if I...
Thanks so much I have been looking at this for a couple of hours, as I am a rookie I guess this would classify as a rookie mistake
Thanks again
Here is what I have written so far, everything is compiling fine. Thanks for the quick response.
#include<stdio.h>
/* Function prototypes*/
void instruct_user(void);
int
I am working on a project for school and I am having difficulty getting this section of code to give the desired output. Can someone give me alittle guidance? No matter what value I input I get the...