diff options
Diffstat (limited to '1553/CH11/EX11.7/11Ex7.sce')
-rw-r--r-- | 1553/CH11/EX11.7/11Ex7.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH11/EX11.7/11Ex7.sce b/1553/CH11/EX11.7/11Ex7.sce new file mode 100644 index 000000000..db81b884e --- /dev/null +++ b/1553/CH11/EX11.7/11Ex7.sce @@ -0,0 +1,10 @@ +//Ex 7
+
+clc;
+clear;
+close;
+sp=100;
+cp=96;
+profit=sp-cp;
+profitPercent=(profit/cp)*100;
+printf("The profit is %3.2f percent",profitPercent);
|