#include<iostream.h>#include<string.h>int main(){float GASSEP[11],GASST[11],LIQST[11],M=0,V=0,c, PMA[11],SGC7,VM[11],D,SG,API,Densidades[11]={50.032,51.044,19.98,29.34,31.62,35.11,36.42,38.9 6,39.36,41.40,53.11};short i,j,k,PM[11]={34,44,16,30,44,58,58,72,72,86};char comp[11][15]={"CO2","H2S","C1","C2","C3","iC4","nC4","iC5","nC 5","C6","C7+"};cout<<"DATOS DEL STOK TANK\nComposicion liqido:\n";do{for(i=0;i<=10;i++){cout<<comp[i]<<"\t";cin>>LIQST[i];while(LIQST[i]>1){cout<<comp[i]<<"\t";cin>>LIQST[i];}while(LIQST[i]>1);}system ("cls");c=0;for(j=0;j<=10;j++)c=c+LIQST[j];cout<<"\n";}while(c!=1);system ("pause");}
while(c!=1);
while(fabs(c-1.0) > 0.1);