Question: Write a function that accepts a user input phone number as a string and returns a normalized United States phone number in E.164 format. Return
Write a function that accepts a user input phone number as a string and returns a normalized United States phone number in E.164 format. Return null (or an equivalent value) if the user input is invalid. Use Java programming language. Write a readme.txt file that describes the code's functionality and why you decided on this solution. Please document any online resources, third party libraries, and assumptions made when coding your solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
