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.
Summary
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.
Instructions
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
- The estimated electricity cost.
The program then outputs how much the merchandise should be marked up (as a percentage) so that Linda gets the desired profit.
Since your program handles currency, make sure to use a data type that can store decimals with a decimal precision of 2.
Test case 1:
Input:
540000
80000
50000
4000
Output:
158.61
Test case 2:
Input:
600432.50
99400
65400
4356.36
Output:
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images