Question: Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212. : If the input
Given an integer representing a 10-digit phone number, output the area code, prefix, and line number using the format (800) 555-1212. :
If the input is: 8005551212
the output is: (800) 555-1212
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
