diff options
Diffstat (limited to '1553/CH10/EX10.18/10Ex18.sce')
-rw-r--r-- | 1553/CH10/EX10.18/10Ex18.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH10/EX10.18/10Ex18.sce b/1553/CH10/EX10.18/10Ex18.sce new file mode 100644 index 000000000..2692bfe7b --- /dev/null +++ b/1553/CH10/EX10.18/10Ex18.sce @@ -0,0 +1,9 @@ +//chapter 10 Ex 18
+
+clc;
+clear;
+close;
+com=5/100; amtupto5=10000; morethan5=4/100; remits=31100;
+amtCom=com*amtupto5;
+total=(remits+amtCom-(amtupto5*morethan5))/(1-morethan5);
+mprintf("The total sales are Rs.%d",total);
|