clc //initialisation of variables T1= 40 //degrees T2= 30 //degrees //CALCULATIONS d1= (T1-T2)*(9/5) d2= d1 //RESULTS printf ('T= %.2f F',d1) printf (' \n T= %.2f R',d2)