summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.28/10Ex28.sce
blob: 995cd1bf6490a8d22e81417a8bb876018f4a97bf (plain)
1
2
3
4
5
6
7
8
//chapter 10 Ex 28

clc;
clear;
close;
AmoreB=100/(3*100); 
BlessA=(AmoreB/(1+AmoreB))*100;
mprintf("B earns %d percent less than A",BlessA);