Here is my code.
/* Program Name: Proj1MTB.c
* Programmer: Matt Berger
* Date: 9/18/02
* Purpose of Program: Is to calculate how many miles to the
gallon your vehicle can get. It can not run in batch mode,
it needs user to input there start miles,end miles,and
there gallons purchased.
/* Printf, Scanf Definitions */
int Startmileage, /* Input - Start Miles */
Endmileage; /* Input - End Miles */
double Gallonspurchased, /* Input - Gallons Purchased */
Milespergallon; /* Input - Miles Per Gallon */
/* Gets Start Miles */
printf("Enter your start miles.");
/* Gets End Miles */
printf("Enter your end miles.");
/* Gets Your Gallons Purchased */
printf("Enter your gallons purchased.");
/* Calculates Your Miles Per Gallon */
Milespergallon = (Endmileage - Startmileage)/Gallonspurchased;
/* Displays Your Miles Per Gallon */
printf ("Your vehicle gets %f miles per gallon.
I put it into Borland C compiler and it compile it and stuff but when I run it out of Borland nothing pops on the screen and in borland form 1 pops up can someone please help me? Its for class