Posted on 2001-06-17
If you look at the code below you will beable to see what I am doing.
But the result I get returns a value to long. ie,
wages for week excluding overtime 421.000000 pounds.
when I want it to be like so - 421.00 pounds.
How do i do this.
printf(" Please enter the amount of standard hours you worked ");
printf("\n Now how many Hours overtime you worked ");
printf(" Enter Hourly rate ");
amount = (float)hours*(float)pounds;
printf("Wages for week excluding Over time %f pounds");