1 2 3 4 5 6 7 8 9 10 11 12
//Ex 3 clc; clear; close; //(i) sp1=(120/100)*56.25; printf("(i)The SP is Rs. %3.2f",sp1); //(ii) sp2=(85/100)*80.4; printf("\n(ii) The SP is Rs. %3.2f",sp2);