summaryrefslogtreecommitdiff
path: root/1553/CH32/EX32.3/32Ex3.sce
blob: d4a9e55d982d96bdcb26c56ac4231387a8431f9b (plain)
1
2
3
4
5
6
7
8
9
//Chapter 32 Ex 3

clc;
close;
clear;
TD=250; SI= 375; t=3;
sumdue=(SI*TD)/(SI-TD);
R=(100*SI)/(sumdue*t);
mprintf("The sum and the rate are Rs.%d and %.2f percent",sumdue,R);