Question: Part 1: Design a- (5 pts) Create an Address class that contains the name and number of street, city, and zip code. Write all constructors,
Part 1: Design a- (5 pts) Create an Address class that contains the name and number of street, city, and zip code. Write all constructors, getters, setters and a Print functions for it. b- (10 pts) Your class should provide input (overload the operator >>, output (operator >prototype is similar to that of > (istream os Address& a) (inside the function ask the user to enter the info, using cin or getline). The operator should ask the user to enter a complete address and return a reference to it The rock group "Marron 5" is giving a concert in your town and you have been hired by the night club where they are playing. The club seats 100 people, and tickets will be sold in advance. Ticket requests are to be filled in the order in which they are received, with a maximum of four tickets per person. class that stores a person name, address (use (5 pts) Write a ticketorder your class address that you created in part a), and number of tickets in a ticket order. Write all constructors, getters, setters and a Print functions for it. a- b- (1o pts) Your class should provide input function (do not overload the operator >> here), output (overload the operator you created in class Address to enter an address
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
