Create a form such as a hotel registration form Create a form which lists custom
ID: 3807946 • Letter: C
Question
Create a form such as a hotel registration form
Create a form which lists customers’ room choice
Create a bank card form (for credit/debit card)
Create a form which lists customers’ rewards membership information
The form should open and allow the customer to type in his/her name, address, etc
Trying to do it in C++
You will need to create a series of fo applications using c+ ,Jawa, and cy for one of Make sure you follow each step listed below carefully. You will design these in these different langaai in order to see which one would best serve your customer A. Create a form such as a hot stration tom B. Create a bank card form (for credit debit card) C. Create a form which lists customers' room choice D. Create a form which lists customers' wards membership information rew E. The form should open and allow the customer to type in his her name, address, ete create all four ofthese forms using the programming languages listed above. .All forms should always have the hatel logo, hole name lyou will create these). and F. You will asked to give an oral presentation of your work G. Make sure all programs start with the appropriate comments suggested for programmingExplanation / Answer
#include 02 class date; 03 class Reservation; 04 class Rooms; 05 class Hotel; 06 void main() 07 { 08 } 09 10 class date{ 11 int day; 12 int month; 13 int year; 14 public: 15 date() 16 { day=1; 17 month=1; 18 year=2000;} 19 void defultset() 20 { day=1; 21 month=1; 22 year=2000;} 23 void set() 24 { cin>>day>>month>>year;} 25 int getday() 26 {return day;} 27 int getmonth() 28 {return month;} 29 int getyear() 30 {return year;} 31 }; 32 class Reservation{ 33 int id;// how to increment id ? 34 date Date; 35 int periodDay; 36 int RoomID; 37 Rooms state; //why error ?? 38 // Rooms roomID; //need to be defult & set 39 public : 40 friend Rooms; 41 friend Hotel; 42 Reservation() 43 { id =0; 44 Date.defultset(); 45 periodDay=7; 46 RoomID=state.id; 47 48 } 49 ~Reservation(){}; 50 51 }; 52 class Rooms{ 53 int id; 54 int floor; 55 float price; 56 Reservation state; 57 int reserved; 58 public: 59 Rooms(){ 60 id=0; 61 floor=3; 62 price=150.05; 63 reserved= ( state.id >0); 64 } 65 friend Reservation; 66 friend Hotel; 67 }; 68 class Hotel{ 69 int n,m; 70 int id; 71 int floors; 72 Reservation * reserve; 73 Rooms * room; 74 75 public : 76 friend Rooms; 77 friend Reservation; 78 /*reserve = new Reservation[n] ; 79 room = new Rooms[m];*/ 80 81 82 };Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.