summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.35/4Ex35.sce
blob: 51e8361ebeca9b8e928d84627c42b08edf5ccce0 (plain)
1
2
3
4
5
6
7
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);