Question: C + + , Character array currentPhone is assigned with ( 8 2 2 ) - 8 7 6 - 8 5 4 8

C++, Character array currentPhone is assigned with "(822)-876-8548". newPhone is assigned with a string read from input. Copy the string in newPhone to currentPhone.
Ex: If the input is (610)-590-8020, then the output is:
(822)-876-8548 is my phone number.
(610)-590-8020 is my phone number.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!