1 2 3 4 5 6
//ques-18.12 //Determining required percentage for a heat engine clc n=0.1;//(T2-T1)/T2 r=0.9;//T1/T2 printf("Required percentage of T1/T2 is %d.",r*100);