Question: I need this in Raptor only plz Write a Raptor program which inputs a string containing a phone number in any format and outputs it

I need this in Raptor only plz

Write a Raptor program which inputs a string containing a phone number in any format and outputs it in the standard format. For this assignment, the standard format is (817) 555-1234.

Sample Output(inputs in bold) Please enter a phone number: 817-555-1234 The properly formatted number is (817) 555-1234 Please enter a phone number: (817)515 7259 x23 The phone number must have 10 digits Please enter a phone number: 214 555 9999 (c) The properly formatted number is (214) 555-9999 Please enter a phone number: 800**4444xxx333 The properly formatted number is (800) 444-4333

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 Databases Questions!