Question: Create a c++ program following the given template: An example is given below: (the program should be created like this example) 3) Travel and tours

Create a c++ program following the given template:

Create a c++ program following the given template: An example is given

An example is given below: (the program should be created like this example)

below: (the program should be created like this example) 3) Travel and

tours system struct - User - Package client - display available tour destination package - buy package print package bought #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(), '

3) Travel and tours system struct - User - Package client - display available tour destination package - buy package print package bought #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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!