summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.35/4Ex35.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH4/EX4.35/4Ex35.sce')
-rw-r--r--1553/CH4/EX4.35/4Ex35.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH4/EX4.35/4Ex35.sce b/1553/CH4/EX4.35/4Ex35.sce
new file mode 100644
index 000000000..51e8361eb
--- /dev/null
+++ b/1553/CH4/EX4.35/4Ex35.sce
@@ -0,0 +1,8 @@
+//chapter 4 Ex 35
+
+clc;
+clear;
+close;
+n1=14; n2=18; amtEach=80;
+amtTotal=amtEach/(1/n1-1/n2);
+mprintf("The total amount was Rs.%d",amtTotal);