blob: b73d4b08f4c7c4c14e32cd6d0e833f1f82ff2541 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Chapter 11 Ex 29
clc;
close;
clear;
retail=100; com=36; red=24/100;
SP=retail-com;
profit=(8.8/100);
CP=(SP/(1+profit));
ncom=12;
SPn=retail-ncom;
gain=SPn-CP;
gainper=(gain/CP)*100;
mprintf("The profit percent is %.2f percent",gainper);
|