Question: Design a class named Address. The class contains: -The data fields: a house number, a street, a city, a state, and a postal code. -A
Design a class named Address. The class contains:
-The data fields: a house number, a street, a city, a state, and a postal code.
-A default constructor that creates an address.
-A constructor that creates an address with the specified house number, street, city, state, postal code.
-The accessor and mutator functions for all the data fields.
-A function named print that prints the address.
Define the class Address
write the code in c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
