Ask questions and get helpful answers.

how would you write a program that translates an alphabetic phone number into numeric form

enter phone number: CALLATT

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.


  1. 👍
  2. 👎
  3. 👁
  4. ℹ️
  5. 🚩

Answer this Question

Related Questions

Still need help?

You can ask a new question or browse existing questions.