// Calculating the mass of air using formula PV = 0.37 * m * (T + 460) where P = pressure, V = volume, m = Mass of air, T = Temperature #include #include #define pi 3.14; void main() { int pressure, temp; float volume, mass; printf("\n\t\tPROGRAM WILL CALCULATE THE MASS OF AIR"); printf("\n\nEnter the Pressure (pounds per sq inch) = "); scanf("%d",&pressure); printf("\n\nEnter the Volume of air (cubic feet) = "); scanf("%f",&volume); printf("\n\nEnter the temperature (degree farenheit) = "); scanf("%d",&temp); mass = (pressure * volume)/(0.37*(temp + 460)); printf("\n\n\tMass of air = %.2f",mass); getch(); }