A phone number, such as (212) 767-8900, can be thoughtof as having three parts: the
area code (212), the exchange (767), and the number (8900). Write aprogram in C++ that uses a
structure to store these three parts of a phone number separately.Call the structure phone.
Create two structure variables of type phone. Initialize one, andhave the user input a
number for the other one. Then display both numbers. Theinterchange might look like
this:
Enter your area code, exchange, and number: 415 555 1212
My number is (212) 767-8900
Your number is (415) 555-1212
Expert Answer
An answer will be send to you shortly. . .
PayPal Gateway not configured
PayPal Gateway not configured