summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.24/11Ex24.sce
blob: 0e5c399cd96758c1a757c1c35ccc1cae755854fd (plain)
1
2
3
4
5
6
7
8
9
10
//Ex 24

clc;
clear;
close;
MP=100; 
d1=20;d2=10;d3=5;
NetSp=((100-d1)/100)*((100-d2)/100)*((100-d3)/100)*MP;
NetDiscount=100-NetSp;
printf("The required discount is %3.2f percent",NetDiscount);