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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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.

 

 

 

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Intangible cost
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education