summaryrefslogtreecommitdiff
path: root/1553/CH10/EX10.21/10Ex21.sce
blob: edbf2552e09fa877e6db4dad832334565910a837 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 10 Ex 21

clc;
clear;
close;
red=10/100;
original=100;
newSal=original*(1-red);
increase=((original-newSal)/newSal)*100;
mprintf("The percentage reduction is %.2f percent",increase);