summaryrefslogtreecommitdiff
path: root/1553/CH29/EX29.9/29Ex9.sce
blob: a8c49fdb6fb7ada65030f822677334e385ec8877 (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 29 Ex9
clc;
clear;
close;

shares=25;
rateDividend=9/100;
rateInterest=10/100;
price1share=(shares*rateDividend)/rateInterest;
mprintf("The price of each share is Rs.%.2f",price1share);