after running the program it asks for age but do not take the input

```
int main()
{
float age1, age2, age3, avg;
age1 = age2 = 24.0;
printf("How old are you?\n");
scanf("%f\n",&age3);

avg = (age1+age2+age3)/3;
printf("the average age is %f\n",avg);
return 0;
}

```