//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);