diff options
Diffstat (limited to '1553/CH10/EX10.21/10Ex21.sce')
-rw-r--r-- | 1553/CH10/EX10.21/10Ex21.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH10/EX10.21/10Ex21.sce b/1553/CH10/EX10.21/10Ex21.sce new file mode 100644 index 000000000..edbf2552e --- /dev/null +++ b/1553/CH10/EX10.21/10Ex21.sce @@ -0,0 +1,10 @@ +//chapter 10 Ex 21
+
+clc;
+clear;
+close;
+red=10/100;
+original=100;
+newSal=original*(1-red);
+increase=((original-newSal)/newSal)*100;
+mprintf("The percentage reduction is %.2f percent",increase);
|