1 2 3 4 5 6 7 8 9 10 11
//Ex 4 clc; clear; close; //(i) cp1=(100/116)*40.6; printf("(i) The CP is Rs. %d",cp1); //(ii) cp2=(100/88)*51.7; printf("\n(ii) The CP is Rs. %3.2f",cp2);