Please tell me why my input and output are not the same in this code.
cents is always zero and the symbol is not defined!
Type: Posts; User: MMu
Please tell me why my input and output are not the same in this code.
cents is always zero and the symbol is not defined!
Please run the code "q1_test" and tell me what am I doing wrong with the functions.
As you can see, the initialized values of the object 'c' does not go into the functions, GetDollars and GetCents....
Thanks and sorry about %s reversal
I have the following problem
int day;
int year;
char month[12][10];
printf("Enter date (e.g. January 1 2008)"\n");
scanf("s% d% d% \n",month, &day, &year);