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.
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?