Please check below for a sample output. Scenario 1: Please enter the name for your hotel: Ben Welcome to Ben hotel maker, please select the room you would like to have in your hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 1 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 1 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 Welcome to Ben hotel maker, please select the room you would like to have in your hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 2 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 2 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 3 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 2 Sorry you already have this feature. What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 Welcome to Ben hotel maker, please select the room you would like to have in you hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 4 Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=false, Type=Double Room + Netflix access, Price=100, isReserved?=false, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price =170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue 1 Reservation successful Current rooms status: [ Type=Single Room + View, Price=100, isReserved?=true, Type=Double Room + Netflix access, Price =100, isReserved?=false, Type=Double Room + View + Netflix access, Price =150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue 1 The room is not available Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=false, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Reservation successful Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=true, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Reservation successful Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=true, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=true ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Hotel revenue: 370 \begin{tabular}{|c|} \hline RoomFactory \\ \hline +generateRoom(RoomType):Room \\ \hline \end{tabular} \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ «interface>>Room } \\ \hline +getPrice():int \\ +getDescription():String \\ +getReservationStatus():boolean \\ +reserveTheRoom(RoomType):boolean \\ \hline \end{tabular} \begin{tabular}{|l|} \hline WithView \\ \hline \\ \hline \end{tabular} \begin{tabular}{|l|} \hline WithNetflixAccess \\ \hline \\ \hline \end{tabular}

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter11: Sql Server Databases
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

Please check below for a sample output. Scenario 1: Please enter the name for your hotel: Ben Welcome to Ben hotel maker, please select the room you would like to have in your hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 1 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 1 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 Welcome to Ben hotel maker, please select the room you would like to have in your hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 2 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 2 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 3 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 2 Sorry you already have this feature. What feature the room has? 1: With view $50 2: With Netflix access $20 3: Nothing 4: Done 4 Welcome to Ben hotel maker, please select the room you would like to have in you hotel. 1: Single Room $50 2: Double Room $80 3: Deluxe Room $100 4: Done, go to reservation 4 Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=false, Type=Double Room + Netflix access, Price=100, isReserved?=false, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price =170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue 1 Reservation successful Current rooms status: [ Type=Single Room + View, Price=100, isReserved?=true, Type=Double Room + Netflix access, Price =100, isReserved?=false, Type=Double Room + View + Netflix access, Price =150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue 1 The room is not available Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=false, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Reservation successful Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=true, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=false ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Reservation successful Current rooms status: [ Type=Single Room + View, Price =100, isReserved?=true, Type=Double Room + Netflix access, Price=100, isReserved?=true, Type=Double Room + View + Netflix access, Price=150, isReserved?=false, Type=Deluxe Room + View + Netflix access, Price=170, isReserved?=true ] Hi customer, what room would you like?: 1: Single Room 2: Double Room 3: Deluxe Room 4: Done, show hotel revenue Hotel revenue: 370 \begin{tabular}{|c|} \hline RoomFactory \\ \hline +generateRoom(RoomType):Room \\ \hline \end{tabular} \begin{tabular}{|l|} \hline \multicolumn{1}{|c|}{ «interface>>Room } \\ \hline +getPrice():int \\ +getDescription():String \\ +getReservationStatus():boolean \\ +reserveTheRoom(RoomType):boolean \\ \hline \end{tabular} \begin{tabular}{|l|} \hline WithView \\ \hline \\ \hline \end{tabular} \begin{tabular}{|l|} \hline WithNetflixAccess \\ \hline \\ \hline \end{tabular} 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
MacOS
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L