Asked by NICOLE
how would you write a program that translates an alphabetic phone number into numeric form
enter phone number: CALLATT
2255288
I was given a website for help. However, it didn't help.
I would use a table lookup, for speed, do a binary search of the letters.
Many other options exist: IF tests can be used.
I don't know much about C. What you might want to do is see if you can take the input "CALLATT" and break it up into 7 different letters. Then have each letter assigned a numeric value.
Matt
enter phone number: CALLATT
2255288
I was given a website for help. However, it didn't help.
I would use a table lookup, for speed, do a binary search of the letters.
Many other options exist: IF tests can be used.
I don't know much about C. What you might want to do is see if you can take the input "CALLATT" and break it up into 7 different letters. Then have each letter assigned a numeric value.
Matt
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.