You are on page 1of 1

#include <iostream>

#include <fstream>
#include <iomanip>
using namespace std;
int main(int argc, char *argv[]) {
float masa, temp, presion, vol;
cout<<"///////////////////////////////////////////////////////"<<endl
<<"///////////////USCOSOFT MASS CALCULATOR////////////////"<<end
l
<<"///////////////////////////////////////////////////////"<<end
l;
cout<<""<<endl
<<""<<endl
<<""<<endl
<<"Digite valor de la temperatura"<<endl;
cin>>temp;
cout<<""<<endl
<<"Digite valor de la presion"<<endl;
cin>>presion;
cout<<""<<endl
<<"Digite valor del volumen"<<endl;
cin>>vol;
masa=(presion * vol)/(0.37 * (temp + 460));
cout<<""<<endl
<<"La masa obtenida es = "<<masa<<endl;
return 0;
}

You might also like