Define a new type called ADDRESS that is a structure consisting of seven fields, suiteNumber, streetNumber, street, city, province, postalCode, country, all of type string.

LANGUAGE: C++

CHALLENGE:

Define a new type called ADDRESS that is a structure consisting of seven fields, suiteNumber, streetNumber, street, city, province, postalCode, country, all of type string.

SOLUTION:


struct ADDRESS{
    string suiteNumber, streetNumber, street, city, province,      postalCode, country;
};