summaryrefslogtreecommitdiff
path: root/1553/CH33/EX33.2/33Ex2.sce
blob: ca126fe9f92babd591e7bed3abbe88c764e1451d (plain)
1
2
3
4
5
6
7
8
9
//Chapter 33 Ex 2

clc;
clear; 
close;
TD=120; rate=15/100; t=1/2;    //given
BG=TD*rate*t;    //banker's gain
BD=TD+BG;         //banker's discount
mprintf("The bankers discount is Rs %d",BD);