Suppose a retail business sells an item that is regularly priced at 99.95 BHD and is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Suppose a retail business sells an item that is regularly priced at 99.95 BHD and is planning to have a sale where the item's price will be reduced by 22 percent. You have been asked to write a C++ program to calculate the sale price of the item. To determine the sale price, you perform two calculations: First, you get the amount of the discount, which is 22 percent of the item's regular price. Second, you subtract the discount amount from the item's regular price. This gives you the sale price. The output: Regular price (BHD): 99.95 Discount amount (BHD): Sale price (BHD): Problem 03 Code: Problem 03 Output: www BALOD Suppose a retail business sells an item that is regularly priced at 99.95 BHD and is planning to have a sale where the item's price will be reduced by 22 percent. You have been asked to write a C++ program to calculate the sale price of the item. To determine the sale price, you perform two calculations: First, you get the amount of the discount, which is 22 percent of the item's regular price. Second, you subtract the discount amount from the item's regular price. This gives you the sale price. The output: Regular price (BHD): 99.95 Discount amount (BHD): Sale price (BHD): Problem 03 Code: Problem 03 Output: www BALOD
Expert Answer:
Answer rating: 100% (QA)
To calculate the sale price of the item after applying a 22 discount on its regular price of 9995 BH... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
BACKGROUND The company, North S.L., has the following information in the Balance Sheet and Profit and Loss Account for 2016, before calculating its Corporate Tax: BALANCE SHEET ASSETS LIABILITIES...
-
Roche and Young, CAs, are preparing their service revenue (sales) budget for 2012. Their practice is divided into three departments: auditing, tax, and consulting. Billable hours for each department,...
-
On November 15, Alex and Deanna Kent come to you for tax advice. The Kents, a married couple that files a joint tax return, own a rental home in Southern California. From January to November 1 of the...
-
Draw before and after energy bars for the collision shown in Figure \(6.8 a\) and \(6.8 b\). Data from Figure 6.8 (a) Earth reference frame (b) Reference frame M (DEM == 0.20 m/s) = 0 FM2 ME NIZ E...
-
Lock Tight, Inc., produces outside doors for installation on homes. The following information was gathered to prepare budgets for the upcoming year beginning January 1: Sales forecast in units . . ....
-
A mass-spring system of M=1 kg and K=100 N/m is subjected to an base excitation force-shown. Determine: (a) The equation of motion of the system (b) The response of the system (c) The transited force...
-
Lombard Ltd has been offered a contract for which there is available production capacity. The contract is for 20,000 identical items, manufactured by an intricate assembly operation, to be produced...
-
Use the spinner to find the fractional probability of each event. Write answers as reduced fractions. The pointer landing in region C. ____/____ The pointer landing in region A. ____/____ The pointer...
-
When two people metacommunicate, they misinterpret what each other is saying. agree to disagree. agree to agree. communicate about how they are communicating.?
-
On a Saturday night in the fall of 2015, a woman was attending a charity event at a golf and country club in Toronto along with her baby and partner. During the dinner her two-and-a-half-month old...
-
You were the hiring manager for a new position that opened up at your organization. After sifting through nearly fifty resumes, you chose to interview one outside candidate and one internal candidate...
-
Using the knowledge you've gathered about the different possibilities for audio and storytelling in a networked world figure out what story you want to tell, whether it's through a creative piece...
-
Revise the following five sentences to be clearer and more concise: I am in receipt of your memo requesting an increase in pay and am of the opinion that it is not merited at this time due to the...
-
Each of these reaction produces ONE MAJOR PRODUCT. In each case, draw this product in the box provided, including appropriate stereochemistry when applicable. For multi-step reactions, just give the...
-
Rewrite Programming Exercise 7.5 using streams. Display the numbers in increasing order. Data from Programming Exercise 7.5 Write a program that reads in 10 numbers and displays the number of...
-
Abourne Ltd manufactures a microcomputer for the home use market. The management accountant is considering using regression analysis in the annual estimate of total costs. The following information...
-
Zits Ltd makes two models for rotary lawn mowers, the Quicut and the Powacut. The company has a sales director and reporting to her, two product managers, each responsible for the profitability of...
-
(a) Discuss the behavioral arguments for and against involving those members of management who are responsible for the implementation of the budget in the annual budget setting process. (b) Explain...
-
Explain the difference between idiosyncratic and systematic risks.
-
Demonstrate how to reduce risk through hedging and diversification.
-
Assume that the economy can experience four possible states: high growth, normal growth, recession, or depression. For each of those states, you expect the following stock market returns for the...
Study smarter with the SolutionInn App