Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Oyster Bay Resort C++ Oyster Bay Beach Resort 06/22/2018 One bedroom suits ocean view garden view total units number cost rented per unit 420.00

image text in transcribed
C++ Oyster Bay Resort
C++
image text in transcribed
Oyster Bay Beach Resort 06/22/2018 One bedroom suits ocean view garden view total units number cost rented per unit 420.00 65 350.00 100 weekly income $ 14,700.00 $ 22,750.00 $ 37,450.00 $ 1,470.00 $ 2,275.00 $ 3,745.00 ---total--- $ 16,170.00 $ 25,025.00 $ 41,195.00 The print line below is one of the print lines on the report (line #4) One bedroom suits rented per unit income ---total- the spacing list below shows the spacing for line #4 spaces 17 One bedroom suits spaces rented spaces per unit spaces income spaces tax spaces ---total--- WOOOOO NOW 9 from the spacing of line #4 you should be able to set up the other print lines The resort name and the date just sort of plop in the middle of the line The whole print line is 80 characters A resort on the island of St. Maarten want you to write a program to keep track of the one bedroom suites they rent. The price of the suite depends on whether the living room has an ocean view or a garden view, The suite with a garden view costs $350.00 a week. The suite with the ocean view costs $450.00 a week. There is a 10% resort/utility tax added to the cost of either suite. In other words a garden view suite costs $350.00 + tax and an ocean view suite costs $450.00 plus tax. Use a #define garden View 350.00 #define ocean View 450.00 #define tax 0.10 Ask the user for the name of the resort. Use getline (not cin) Ask the user for the date of the reservation in any format) Again use getline (not cin) Ask the user for the total number of garden View suits to be rented Ask the user for the total number of ocean view suits to be rented The output should look like the sample below. Look at the text document included wit assignment and you can figure out the exact spacing of the report Ovster Bay Beach Resort 6.22. 2018 number cost One bedroom suits rented per unit ocean view 3 5450.00 garden view 65 350.00 total units 100 weekly income tax $ 15,750.00 $ 1.575.00 $ 22,750.00 $2,275.00 $ 38,500.00 $ 3.850.00 ---total--- $ 17,325.00 $ 25.025.00 $ 42.350.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7. Finalist companies make their presentations.

Answered: 1 week ago

Question

3. Describe the communicative power of group affiliations

Answered: 1 week ago