EP MINDTAPV2.0 FOR MALIK'S C++ PROGRAMM
8th Edition
ISBN: 9780357425299
Author: Malik
Publisher: CENGAGE CO
expand_more
expand_more
format_list_bulleted
Question
Chapter 3, Problem 8PE
Program Plan Intro
Implementation of a program for calculating the markup price of goods in a cosmetics business
The following C++ program accepts input about cosmetics business operations from the user, computes the mark up price, and displays the result.
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
Adnan 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. He 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 he gets approximately 10% net profit on the merchandise cost. Note that after marking up the price of an item he would like to put the item on 15% sale. Write a program that prompts Adnan to enter the total cost of the merchandise, the salary of the employees (including his own salary), the yearly rent, and the estimated electricity cost. The program then outputs how much the merchandise should be marked up so that Adnan gets the desired profit.
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:…
The Bright Light Academy The Bright Light Academy is a high school that is located in Midrand. The school opened its doors for enrolment of students in 2018. They enrol from Grade R to Grade 12. As of the last quarter of 2020, the school’s enrolment has grown tremendously to 400 students and they are anticipating that their enrolment will increase further. Since its inception, the school has been using Pastel Accounting to administer its finances. The school board of trustees has made a decision to develop an in-house integrated school management system. The school is hoping that the system will help in its blended learning strategy in the beginning of the second quarter of 2021. Source: Maodza, B. (2021)Question 4You have been hired as the Lead Architect of the school. Model a detailed use case diagram for the proposed integrated school management system.
Chapter 3 Solutions
EP MINDTAPV2.0 FOR MALIK'S C++ PROGRAMM
Ch. 3 - Mark the following statements as true or false. An...Ch. 3 - Prob. 7SACh. 3 - What does function sqrt do? Which header file must...Ch. 3 - Prob. 9SACh. 3 - Prob. 10SACh. 3 - 11. What is the purpose of the manipulator setw?...Ch. 3 - 12. What is the output of the following program?...Ch. 3 - Prob. 13SACh. 3 - Suppose that name is variable of type string. What...Ch. 3 - 16. Write a C++ statement that uses the...
Ch. 3 - 19. The following program is supposed to read the...Ch. 3 - Prob. 20SACh. 3 - Prob. 21SACh. 3 - 22. Suppose that infile is an ifstream variable...Ch. 3 - 24. Suppose that infile is an 18stream variable...Ch. 3 - 1. Consider the following incomplete C++ program:...Ch. 3 - 2. Consider the following program in which the...Ch. 3 - Write a program that prompts the user to enter the...Ch. 3 - 4. During each summer, John and Jessica grow...Ch. 3 - 5. Three employees in a company are up for a...Ch. 3 - 6. Write a program that accepts as input the mass,...Ch. 3 - Interest on a credit card's unpaid balance is...Ch. 3 - Prob. 8PECh. 3 - Dairy Farm decided to ship milk in containers in...Ch. 3 - 10. Paula and Danny want to plant evergreen trees...
Knowledge Booster
Similar questions
- An organization has committed to matching pledge amounts based on the donor type and pledge amount. Donor types include I (for Individual), B (for Business organization), and G (for Grant funds). The matching percentage is shown below: Donor type Pledge Amount Matching % I $500 or more 30% I $300-$499 40% I $100-$299 50% B $1000 or more 10% B $500-$999 20% B $100-$499 40% G $100 0r more 10% Create a PL/SQL anonymous block to accomplish the task. Input values for the block are the donor type code and the pledge amount.arrow_forwardAnnabelle Sizemore has cashed in some treasury bonds and a life insurance policy that her parents had accumulated over the years for her. She has also saved some money in certificates of deposit and savings bonds during the 10 years since she graduated from college. As a result, she has $120,000 available to invest. Given the recent rise in the stock market, she feels that she should invest all of this amount there. She has researched the market and has decided that she wants to invest in an index fund tied to S&P stocks and in an Internet stock fund. However, she is very concerned about the volatility of Internet stocks. Therefore, she wants to balance her risk to some degree. She has decided to select an index fund from Shield Securities and an Internet stock fund from Madison Funds, Inc. She has also decided that the proportion of the dollar amount she invests in the index fund relative to the Internet fund should be at least one-third but that she should not invest more than…arrow_forwardAssignments Lakeside Boatworks is planning to manufacture three types of molded fiberglass recreational boats -a fishing (bass) boat, a ski boat, and a small speedboat. The estimated selling price and variable cost for each type of boat are summarized in the following table: Boat Variable Cost Selling Price Bass $12,500 $23,000 Ski 8,500 18,000 Speed 13,700 26,000 The company has incurred fixed costs of $2,800,000 to set up its manufacturing operation and begin production. Lakeside has also entered into agreements with several boat dealers in the re- gion to provide a minimum of 70 bass boats, 50 ski boats, and 50 speedboats. Alternatively, the company is unsure of what actual demand will be, so it has decided to limit production to no more than 120 of any one boat. The company wants to determine the number of boats that it must sell to break even while minimizing its total variable cost. 1. Formulate a linear programming model for this problem. 2. Solve the model by using the…arrow_forward
- Please help me answering this and attach the excel filearrow_forwardThe store has about 500 laptops, 200 tablets, 50 printers, 30 scanners, 20 routers, 40 switches, 500 game consoles, and 1,600 games in its inventory, each individually identified. RQC maintains about 200 different game titles and thus, on average, there are eight copies of each game in the inventory. For each individual item, the store needs to know its ID, manufacturer, brand name, serial number, type, purchase date, a brief description, and daily, weekly, and monthly rental fees. For all computers, the company wants to store the amount of RAM, hard drive/SSD space, and processor type; for printers, the total number of copies printed; for scanners, the type of connectivity; for network equipment, the number and types of ports; and for games, the age rating for each title and, for each copy of a game, its medium (DVD, Blu-Ray, proprietary, etc.). For each rental, the store needs to know what items were included, when they were rented, and when they are due to be returned (each item may…arrow_forwardWhat is the average IT budget and what percentage of the budget is allocated to cybersecurity? See the above example for how to estimate the budget numbers.arrow_forward
- rick oversees Make Your Own Music, a business specializing in musical instruments such as guitars, drums, and synthesizers. Commission rates for staff are determined by sales at the store, with the following tiered rates: - 11% for sales under $10,000- 13% for sales between $10,000 and $14,999- 15% for sales between $15,000 and $17,999- 17% for sales between $18,000 and $21,999- 19% for sales of $22,000 or more. Employees have the option to withdraw up to $2,500 monthly from future commissions. Shortfalls in commission repayments must be covered by employees. The monthly pay formula is: pay = (sales * commission rate) - advanced pay. rick seeks a program to automate this process. The algorithm: 1. Obtain the monthly sales figure from the salesperson.2. Retrieve the amount of advanced pay taken by the salesperson.3. Determine the appropriate commission rate based on monthly sales.4. Calculate the salesperson's pay using the provided formula. A negative amount indicates repayment owed to…arrow_forwardPlease do it in excel A company would like to invest on a project. The rate the company uses to justify their investments, i.e. the MARR is 25% per year (compounded yearly). Their estimations about the projects are as follows: Initial Cost: ($300,000)The Study Period: 15 yearsSalvage (Market) Value of the Project: 20% of the initial cost Operating costs in the first year are estimated to be ($7,500) and these operating costs are estimated to increase by 5% per year. Construct cash flow table and determine the minimum amount of annual revenue ($ per year?) that makes this investment an attractive option for the company? (i.e. what is Equivalent UNIFORM (Annual) Cost, EU(A)C?)arrow_forwardSolve using excel solverarrow_forward
- Question One (1) You participated in an evaluation of proposals for consulting services. At the end of the Technical Evaluation which required a minimum of 70 points, you got the following results: CONSULTANTS KANYIHAMPA MUSANGILA Technical Score 75.17 76.17 Amount USD475,000.00 USD625,000.00 The lowest evaluated financial proposal (Fm) is given the maximum financial score of 100. The formula for determining the financial score is as follows: SF = 100 x Fm /F in which SF is the financial score, Fm is the lowest price and F is the price of the proposal under consideration. The weights given to the Technical and Financial proposals are 80 and 20 respectively. Calculate for each consultant below (a – c): Weighted Technical score. Financial score Combined weighted Technical and weighted Financial score Indicate the best evaluated bidder and their pointsarrow_forwardRick DeNeefe, manager of the Golden Valley Bank credit authorization department, recently noticed that a major competitor was advertising that applications for equity loans could be approved within two working days. Because fast credit approval was a competitive priority, DeNeefe wanted to see how well his department was doing relative to the competitor’s. Golden Valley stamps each application with the date and time it is received and again when a decision is made. A total 104 applications were received in March. The time required for each decision, rounded to the nearest hour, is shown in the following table. Golden Valley’s employees work 8 hours per day. Draw a bar chart for these data. Analyze the data. How is Golden Valley Bank doing with regard to the competitive priority? Decision Process Time (hours) Frequency 8 8 11 19 14 28 17 10 20 25 23 4 26 10 TOTAL 104 Note:- Do not provide handwritten solution. Maintain…arrow_forwardYou have been hired by ACME Moving and Storage to develop a program to determine customer charges for moving and storage services that they provided. The ACME Moving and Storage employee will provide the following information about the services being proposed: Customer Full Name Number of Rooms: Travel miles between dwellings o No charge for travel up to an including 25 miles o Travel over 25 miles is $1.00 per mile Storage Months (Optional) o Storage is $100 per month Insurance Options (Optional) o Basic coverage is $5.00 per room o Expanded coverage is $10.00 per room Your goal is to create a program that gathers the customer full name, number of rooms, travel miles, storage months (if desired), and insurance type (if desired). While gathering this information, if the user enters at least one invalid value, the program must display one error message telling the user they made a mistake and that they should re-run the program to try again. The program must then end at this…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
- A Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L