Question: 1) Write a C++ program that reads a telephone number from the user and outputs if the telephone number is in the right format. For
1) Write a C++ program that reads a telephone number from the user and outputs if the telephone number is in the right format. For the purpose of this question, a telephone number is in the right format, if the format is (qqq) qqq-qqqq. Here q is a digit from 0 to 9. Also, the very first q cannot be a zero.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
