programming exercise

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 can handle the I/O programming that this exercise is designed to demonstrate, but I am having some trouble with developing the underlying equation. Any help would be appreciated.
I'm hoping that this is just algebra, but it sounds like.

Expenses = MC + SR + ES + EC
Profit Markup = Expenses * .10
Sale markup = (Expenses + Profit Markup) * .15

Pre sale price = Expenses + profit markup + sale markup

I assume that's all the algebra needed to answer that question. Hopefully My memory is accurate.
Thanks so much Eric. I will give that a try. I may have been making it more complex than I needed to. . . Jim
Topic archived. No new replies allowed.