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

clc;
clear;
close;
lossPercent=5; 
spOld=1140;
gainPercent=5;

spNew=(spOld/(100-lossPercent))*(100+gainPercent);
printf("The new Selling Price is Rs. %d",spNew);