summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.28/11Ex28.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.28/11Ex28.sce')
-rw-r--r--1553/CH11/EX11.28/11Ex28.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH11/EX11.28/11Ex28.sce b/1553/CH11/EX11.28/11Ex28.sce
new file mode 100644
index 000000000..af5a4f0b6
--- /dev/null
+++ b/1553/CH11/EX11.28/11Ex28.sce
@@ -0,0 +1,12 @@
+//Ex 28
+
+clc;
+clear;
+close;
+cp=100;
+discount=5;
+gainPercent=33;
+sp=cp+gainPercent;
+mp=sp/((100-discount)/100);
+mPercent=mp-cp;
+printf("The marked price is %d percent above CP",mPercent);