summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.5/11Ex5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.5/11Ex5.sce')
-rw-r--r--1553/CH11/EX11.5/11Ex5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH11/EX11.5/11Ex5.sce b/1553/CH11/EX11.5/11Ex5.sce
new file mode 100644
index 000000000..5ebef9c04
--- /dev/null
+++ b/1553/CH11/EX11.5/11Ex5.sce
@@ -0,0 +1,11 @@
+//Ex 5
+
+clc;
+clear;
+close;
+lossPercent=5;
+spOld=1140;
+gainPercent=5;
+
+spNew=(spOld/(100-lossPercent))*(100+gainPercent);
+printf("The new Selling Price is Rs. %d",spNew);