diff options
Diffstat (limited to '1553/CH11/EX11.19')
-rw-r--r-- | 1553/CH11/EX11.19/11Ex19.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH11/EX11.19/11Ex19.sce b/1553/CH11/EX11.19/11Ex19.sce new file mode 100644 index 000000000..5e68ee0bf --- /dev/null +++ b/1553/CH11/EX11.19/11Ex19.sce @@ -0,0 +1,12 @@ +//Ex 19
+
+clc;
+clear;
+close;
+difference=10.5;
+profitPercent1=25;
+profitPercent2=30;
+lossPercent=20;
+
+cp=difference/((100+profitPercent1)*100-((100+profitPercent2)*(100-lossPercent)))*100*100;
+printf("The cost price of article is Rs. %d",cp);
|