Question: Please help to answer Assign number_segments with phone_number split by the hyphens. Sample output with input: '977-555-3221' Area code: 977 Code writing challenge activity demo

Please help to answer
Assign number_segments with phone_number split by the hyphens. Sample output with input: '977-555-3221' Area code: 977 Code writing challenge activity demo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
