Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Produce a C++ program for the customer to check in to a lodge for a staycation. For the input, the User must fill in their

image text in transcribed

Produce a C++ program for the customer to check in to a lodge for a staycation. For the input, the User must fill in their details (id and password, bank account number, contact etc) for registration. Next, they have to login into their account by key in the registered id and password to choose days of staycation and make payment for the room. After that, they can choose to watch movies during their staycation and there will be various types of movie genres to choose from. In addition, they can place an order for the food set on the menu stated. Note that the payment for movie subscription and food order must be paid after it has been chosen. For the output, the program will display the total amount of their day of staycation, movies subscription, food order and also must have a section for their comment and rating on service of this lodge. Title: User self-service for staycation Analysis of program Input: id, password, contact, day of staycation, passport number, bank account number, type of payment (debit), movie genre, menu food set, comment on service, rating Process: totalRoom=rate per day * day of staycation totalMovie= RM 1* per day of staycation totalFoodset= RM 10 per set * quantity Output: id, password, contact, day of staycation, check in and check out date, passport number, bank account number, type of payment (debit), comment on service, rating, paymentRoom, paymentMovie, paymentFoodset, Your program must fulfil the following requirements: 1- Must be in iostream library 2- Input and Output (cin, cout) 3- Proper Variables declarations 4- I/O Manipulators (setw() or setprecision() or etc) 5- User-defined Functions (call by value and call by reference) 6- Calculation 7- Control Structure (If-else) 8- Loops (e.g. for /while/do..while loop) 9- Arrays 10- Proper comments (each statement that needs explanations) 11- Proper indentations

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions