Many websites ask for phone numbers.  The problem is that there are so many different ways to represent a phone…

Many websites ask for phone numbers.  The problem is that there are so many different ways to represent a phone number.   Examples include 817-555-1234, 817  555  1234 (c), and (817) 555-1234 x23.  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, that standard format is (817) 555-1234.  Your Raptor program should:1.  Input a string including the number2.  Copy only the digits from the input string into another string3.  Issue an error message if the input string does not contain exactly 10 digits4.  Output the phone number in standard format Notes:1.  When only digits are input, Raptor assumes it is an integer instead of a string.  Your flowchart does not need to properly handle an input like 8175551234, but your Ctt version does need to handle that.2.  I recommend passing the digits only string to a procedure which outputs it in the standard format.Sample Output(inputs in BOLD)Please enter a phone number:  817-555-1234The properly formatted number is (817) 555-1234 Please enter a phone number:  (817)515 7259 x23The phone number must have 10 digits Please enter a phone number: 214 555 9999 (c)The properly formatted number is (214) 555-9999

Are you looking for a similar paper or any other quality academic essay? Then look no further. Our research paper writing service is what you require. Our team of experienced writers is on standby to deliver to you an original paper as per your specified instructions with zero plagiarism guaranteed. This is the perfect way you can prepare your own unique academic paper and score the grades you deserve.

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]