diff options
Diffstat (limited to '1553/CH11/EX11.24/11Ex24.sce')
-rw-r--r-- | 1553/CH11/EX11.24/11Ex24.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH11/EX11.24/11Ex24.sce b/1553/CH11/EX11.24/11Ex24.sce new file mode 100644 index 000000000..0e5c399cd --- /dev/null +++ b/1553/CH11/EX11.24/11Ex24.sce @@ -0,0 +1,10 @@ +//Ex 24
+
+clc;
+clear;
+close;
+MP=100;
+d1=20;d2=10;d3=5;
+NetSp=((100-d1)/100)*((100-d2)/100)*((100-d3)/100)*MP;
+NetDiscount=100-NetSp;
+printf("The required discount is %3.2f percent",NetDiscount);
|