C++ problem

Linda is starting a new cosmetic and clothing business and would like to make a net profit of approximately 10% after paying all the expenses, which include merchandise cost, store rent, employees’ salary, and electricity cost for the store.
She would like to know how much the merchandise should be marked up so that after paying all the expenses at the end of the year she gets approximately 10% net profit on the merchandise cost. Note that after marking up the price of an item she would like to put the item on 15% sale.
Write a program that prompts Linda to enter the total cost of the merchandise, the salary of the employees (including her own salary), the yearly rent, and the estimated electricity cost.
The program then outputs how much the merchandise should be marked up so that Linda gets the desired profit.


i am stuck on the calculation part.
Last edited on
Can you post your code? With code tags - the <> button on the right.
.
Last edited on
Any help ??
Code::Blocks erred at line 28 because "system(pause) was not declared in this scope", but after commenting that line out, the program seems to run fine. I'm a newbie myself, but I wonder why you used Double instead of float for your data types?
double is fine (it has 16 significant digits), only need to use float it you have millions of items.
Topic archived. No new replies allowed.