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