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

clc;
clear;
close;
difference=10.5;
profitPercent1=25;
profitPercent2=30;
lossPercent=20;

cp=difference/((100+profitPercent1)*100-((100+profitPercent2)*(100-lossPercent)))*100*100;
printf("The cost price of article is Rs. %d",cp);