can someone help me!!!!

#include <stdio.h>
#include <math.h>
#define RATE 0.45

int main (void)
{
float begin;
float end;
float miles;
float reim;

printf("MILEAGE REIMBURSEMENT CALCULATOR");
printf("\n_________________________________\n");

printf("\nEnter the beginning odometer reading => ");
scanf("%.1f", &begin);

printf("\nEnter the ending odometer reading => ");
scanf("%.1f", &end);

miles = end - begin;
reim = miles * RATE;

printf("\nYou traveled %.1f miles. At $0.45 per mile, your reimbursement is $%.1f.\n\n", miles, reim);

system("pause");
return 0;
}



what is wrong with my coding.......
scanf("%f", &begin);

Likewise the other.
Topic archived. No new replies allowed.