no problem..I think I fixed the problem..you had to FLUSH at the end of the loop..the revised code is here now!
Btw..you had a typo.."availible" should be spelt "available"..I fixed that too..
If you want a better understanding of FLUSH reply back and I'll post a previous msg..Okee..
#define FLUSH while(getchar() != '\n')
printf("What is your fuel flow in pounds? ");
printf("What is your total fuel available in pounds? ");
printf("What is your true airspeed in knots? ");
TAS= (float) atoi(TAS1);
printf("\nEndurance: %.2f hrs\n",total_fuel/fuel_flow);
printf("Range: %.1f nm\n",total_fuel/fuel_flow*TAS);
printf("\nCalculate again? y/n ");