summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.2/11Ex2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.2/11Ex2.sce')
-rw-r--r--1553/CH11/EX11.2/11Ex2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH11/EX11.2/11Ex2.sce b/1553/CH11/EX11.2/11Ex2.sce
new file mode 100644
index 000000000..5aa2e6ab1
--- /dev/null
+++ b/1553/CH11/EX11.2/11Ex2.sce
@@ -0,0 +1,10 @@
+//Ex 2
+
+clc;
+clear;
+close;
+cp=490;
+sp=465.50;
+loss=cp-sp;
+lossPercent=(loss/cp)*100;
+printf("The loss is %d percent",lossPercent);