summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.6/11Ex6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.6/11Ex6.sce')
-rw-r--r--1553/CH11/EX11.6/11Ex6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH11/EX11.6/11Ex6.sce b/1553/CH11/EX11.6/11Ex6.sce
new file mode 100644
index 000000000..8294d9135
--- /dev/null
+++ b/1553/CH11/EX11.6/11Ex6.sce
@@ -0,0 +1,12 @@
+//Ex 6
+
+clc;
+clear;
+close;
+sp1=27.50;
+sp2=25.75;
+profit1=10;
+cp=(100/(100+profit1))*sp1;
+profit2=sp2-cp;
+profitPercent=profit2/cp*100;
+mprintf("The profit percent is %d percent",profitPercent);