Home > Back-end >  C
C

Time:02-10

You can help me to look at the program went wrong?? Thank you for your

CodePudding user response:

The scanf (" % d ", & amp; Money); % d is wrong, and d are integers, but money is a double
Rate=0.025 and the total=* * *, order against the statement, should the rate assignment first and then you calculate
Finally the printf statements, % 1 f change the number bigger,