Question: In C++ on Assignment due Friday. 270ct2017 Problem Statement: Convert ASCII text leters into valid telephone numbers Method: Read a seven-letter phrase and convert it

In C++  In C++ on Assignment due Friday. 270ct2017 Problem Statement: Convert ASCII
text leters into valid telephone numbers Method: Read a seven-letter phrase and

on Assignment due Friday. 270ct2017 Problem Statement: Convert ASCII text leters into valid telephone numbers Method: Read a seven-letter phrase and convert it to a valid phone number using the correspondence on a standard (land-line) telephone dial, as follows: ABC DEF GHI JKL MNO PQRS 7 TUV WXYZ 9 2 For example, the letters GET LOAN, can be converted to the phone number 438- 5626. In some cases, to make a telephone number more meaningful, companies might use more than seven letters. For example the letters CALL HOME can converted to the number 225-5466, using only the first seven letters (excluding blanks). be Variables phrase number nextChar digit digitCount blank string string character character integer character (named constant) PseudoCode Display message to user requesting seven or more letters Read the letters and store into phrase Store blank into nextChar Repeat while nextChar is not equal to end-of-line character into digitCoun &store into nextChar Get next character from user If nextChar is a blank Go to the end of the while-l00p Add 1 to digitCount ar to digit and store into digit

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!