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

clc;
clear;
close;
p=68000; r=50/3; t=9/12;
sInterest=(p*r*t)/100;
printf("The simple interest is Rs. %d",sInterest);