Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a c++ program of Travel And Tours System following the given template: Travel And Tours System: - struct - User - Package Client: -

Create a c++ program of Travel And Tours System following the given template: Travel And Tours System: - struct - User - Package

Client: - display available tour destination package - buy package - print package bought

An example of "Buy Property System" is given below: (the above program should be created like this example)

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

#include #include #include #include > houseLot; cin.clear(); cin.ignore (numeric_limits:: max(), ' '); for(int i=0; i> choice; Enter your choice":: max(), ' '); system("cls"); switch(choice) { case 1:{ viewHouse(housing, totalHouse); break; } case 2:{ buyHouse(housing, user.name, totalHouse); break; } case 3 : { print(housing, user.name, totalHouse); break; } case 4 : { exitMemberMenu(); break; } default : { cout> user.name; cin.clear(); cin.ignore(numeric_limits:: max(), ' '); cout > user.age; cin.clear(); cin.ignore(numeric_limits:: max(), ' '); cout > user.mobileNo; cin.clear(); cin.ignore(numeric_limits:: max(), ' '); cout > user.login; cin.clear(); cin.ignore (numeric_limits:: max(), ' '); cout > user.password; cin.clear(); cin.ignore(numeric_limits:: max(), ' '); system("pause"); system("cls"); return user; } User userLogin(User users[], int totalUser, bool &loginSuccess) { User foundUser, user; string login, password; cout> login; cin.clear(); cin.ignore(numeric_limits:: max(), ' '); cout > password; cin.clear(); cin.ignore(numeric_limits::max(), ' '); for(int i=0; i> choice; cin.clear(); cin.ignore (numeric_limits:: max(), ' '); system("cls"); switch(choice) { case 1:{ User user = userRegistration(); users[totaluser] = user; totaluser++; cout

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

Students also viewed these Databases questions