Hello, OK I have gotten some help so far. I fixed her up to this:
Code:
#include <stdio.h>
int main()
{
float quat = .25;
float halfdol = .50;
float dime = .10;
float nick = .05;
float pen = .01;
float total;
quat * 20, halfdol * 12, dime * 32, nick * 45, pen * 27;
total = quat + halfdol + dime + nick + pen;
printf("The dollar amount is %f\n")
return 0;
}
I get an error at the return 0; line
I get this error when i try to compile:
"fig263B.c", line 17.5: 1506-277 (S) Syntax error: possible missing ';' or ','?
it looks right to me... I just want to take the money, multiply the given amount of change by the value of each of the change and get a total. im confused beyond this... Please help!