//Initilization of variables Pout=3.8 //bhp Pin=4.1 //ihp //Calculations Efficiency=round((Pout/Pin)*100) //Percent //Result clc printf('The efficiency of the engine is %ipercent',Efficiency)