diff options
Diffstat (limited to '1553/CH24/EX24.2/24Ex2.sce')
-rw-r--r-- | 1553/CH24/EX24.2/24Ex2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH24/EX24.2/24Ex2.sce b/1553/CH24/EX24.2/24Ex2.sce new file mode 100644 index 000000000..2b134d10b --- /dev/null +++ b/1553/CH24/EX24.2/24Ex2.sce @@ -0,0 +1,10 @@ +//chapter 24 Ex 2
+
+clc;
+clear;
+close;
+l=13; b=9; w=75/100; rate=12.4;
+area=l*b;
+Length=area/w;
+cost=Length*rate;
+printf("The cost of carpeting is Rs. %4.2f",cost);
|