summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.34/4Ex34.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH4/EX4.34/4Ex34.sce')
-rw-r--r--1553/CH4/EX4.34/4Ex34.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH4/EX4.34/4Ex34.sce b/1553/CH4/EX4.34/4Ex34.sce
new file mode 100644
index 000000000..ced85481a
--- /dev/null
+++ b/1553/CH4/EX4.34/4Ex34.sce
@@ -0,0 +1,9 @@
+//chapter 4 Ex 34
+
+clc;
+clear;
+close;
+totalnotes=85; amount=5000; den100=100; den50=50;
+notes50=(amount-den100*totalnotes)/(den50-den100);
+amount50=notes50*den50;
+mprintf("The required amount is Rs.%d",amount50);