summaryrefslogtreecommitdiff
path: root/1553/CH21/EX21.5/21Ex5.sce
blob: 3cf2709a4e4b18a74ad4e3628ea4680f088e39be (plain)
1
2
3
4
5
6
7
8
9
//chapter 21 Ex 5

clc;
clear;
close;
TotalInterest=11400; r1=6;r2=9;r3=14;
t1=2;t2=3;t3=4;
Sum=TotalInterest/((r1*t1/100)+(r2*t2/100)+(r3*t3/100));
printf("The sum borrowed is Rs. %d",Sum);