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. Need the header filewith the name LindaStore. A:Define the following attributes: float merchandiseCost, float storeRent, float employeesSalary, float electricityCost. B: Define the prototypes of the member functions of the class: i. Constructors Functions (Define values in your parameters input, so that it has the default constructor function) ii. Destructors Functions. iii. Copy constructors. iv. Mutators Functions. v. Accessors Functions. saw. Display. vii. getProfit: Function that calculates the 10% profit. viii. getTotalCost: function that calculates the total cost of the business.
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.
Need the header filewith the name LindaStore.
A:Define the following attributes: float merchandiseCost, float storeRent, float employeesSalary, float electricityCost.
B: Define the prototypes of the member functions of the class:
i. Constructors Functions (Define values in your parameters input, so that it has the default constructor function)
ii. Destructors Functions.
iii. Copy constructors.
iv. Mutators Functions.
v. Accessors Functions. saw. Display.
vii. getProfit: Function that calculates the 10% profit.
viii. getTotalCost: function that calculates the total cost of the business.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images