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

clc;
clear;
close;
sInterest=2502.50; 
r=27/2; t=4;
Sum=sInterest/(1+(r*t/100));

printf("The principle amount is Rs. %d",Sum);