summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.4/11Ex4.sce
blob: a892f080c30dc652c8b57c5f4a6485ac0a973fcf (plain)
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);