Roro Beach Shop is a shop in Pangkalan Balak, Melaka, that provides rental services for the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Roro Beach Shop is a shop in Pangkalan Balak, Melaka, that provides rental services for the following equipment: Equipment Buoy Canoe Speed Boat Water Scooter Equipment Code B с S W Rental Rate/Hour RM2.00 RM20.00 RM120.00 RM80.00 If tourists rent for more than 4 hours, a 10% discount will be given. Write a complete C++ program to do the following: - Read the equipment code and check for the validity of the code. Display an error message if it is not valid. Then, read the number of the equipment. - Customers may add more items. Calculate and display the price for each customer. - Count and display the total number of each piece of equipment rented on the day. - Calculate and display the incomes earned for the day. - Repeat the process until no more customers come to the shop. Below is an example of the output: Roro Beach Shop is a shop in Pangkalan Balak, Melaka, that provides rental services for the following equipment: Equipment Buoy Canoe Speed Boat Water Scooter Equipment Code B с S W Rental Rate/Hour RM2.00 RM20.00 RM120.00 RM80.00 If tourists rent for more than 4 hours, a 10% discount will be given. Write a complete C++ program to do the following: - Read the equipment code and check for the validity of the code. Display an error message if it is not valid. Then, read the number of the equipment. - Customers may add more items. Calculate and display the price for each customer. - Count and display the total number of each piece of equipment rented on the day. - Calculate and display the incomes earned for the day. - Repeat the process until no more customers come to the shop. Below is an example of the output:
Expert Answer:
Answer rating: 100% (QA)
include include using namespace std int main char codeaddmor... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
You will go about planning for your hypothetical retirement using web-based decision support systems (DSS) for financial planning and decision making. Follow the steps below and use the provided...
-
A computer repair service has a design capacity of 80 repairs per day. Its effective capacity, however, is 64 repairs per day, and its actual output is 62 repairs per day. The manager would like to...
-
You will be a party planning consultant. You will be determining whether the party you are planning for a client is financially viable. This will require research of actual suppliers and costs. See...
-
Determine whether the following taxpayers have gross income from the payment of their expenses: a. Julia's mother, Henrietta, is short of cash when it comes time to pay her property taxes. Julia pays...
-
Ichiro is checking potential outcomes for the growth of his RRSP. He plans to make contributions of $500 at the beginning of each month. What nominal rate of return must his RRSP earn for its future...
-
Derive Equation 2.27. = S22 E S11S22 S2 1-V12V21 - S12 V12E2 SS22 S2 1-V12V21 S11 - S11S22-S2 1 = == S66 G12 = E2 1-V12V21 Q11 = Q12= Q22 Q66 = Q21 (2.27)
-
What is the best analysis path for breaking down a spectrum with a large number of peaks?
-
Duo Company reports the following information for the current year, which is its first year of operations. Direct materials . . . . . . . . . . . . . . . . . . . . . . . . $15 per unit Direct labor ....
-
Garth Brooks is an investigative journalist employed by the Victorian Investigator, an online subscription news service. He is contacted by a personal assistant to an MP who wishes to remain...
-
Explain how personal selling can help solve the problem of information overload.
-
Lehman Brothers trace their roots back to a general store founded by German immigrant Henry Lehman in Alabama in 1844. Just six years later, Henry Lehman and his brothers founded Lehman Brothers. The...
-
Describe one of the key influences on society from the significant increase in assets under management (across mutual funds, pension funds, and retail investment holdings) into passive management....
-
This article brings forth an important perspective on the perceived value of separate accounting accreditation within academic institutions. The differing perceptions between accounting faculty and...
-
A uniform rod of mass 1.5 kg and length 2.2 m is free to rotate about one end. If the rod is released from rest at an angle of 60 with respect to the horizontal, what is the speed of the tip of the...
-
Corporate social responsibility enhance firms' access to a wider source of funding by attracting investors who are conscientious about the environment. List two other ways in which corporate social...
-
Consider two bonds with a similar credit rating and pay the same coupon rate per annum. The terms to maturity for Bond A and Bond B are 5 years and 10 years respectively. If inflation rate is...
-
A commercial real estate investment fund must report its quarterly investment performance to investors. A summary of its (1) beginning and end-of-quarter assets and equity and (2) cash inflows and...
-
What are the principal differences among asset liquidity management, liability management, and balanced liquidity management?
-
Explain the rationale of an operations strategy that seeks to increase the opportunity for the use of technology by reducing variability in processing requirements.
-
What does Sliding an objective function line towards the origin represents? Away from the origion?
-
One item a computer store sells is supplied by a vendor who handles only that item. Demand for that item recently changed, and the store manager must determine when to replenish it. The manager wants...
-
All of the following are correct as to how the PBGC is financed except A. Assets of defined benefit plans which have been taken over. B. Insurance premiums paid by plan participants. C. PBGC...
-
If a personal financial plans assumed rate of return is 7 percent and the assumed inflation rate during financial independence is 6 percent, what is the inflation-adjusted return for the plan? A....
-
Which of the following is a probability analysis? A. Historic returns. B. Monte Carlo. C. Straight-line returns. D. Stress testing.
Study smarter with the SolutionInn App