Convert Digit 2-9 to Letter
|
|||
|
Rank: ? (1)
Member #: 29674 |
i want to make a program that similar to the cell phone text keypad. for example when i input number 2 output will be a, and input 22 = output b, and 222 = c. same as cellphone text program. I not sure how to start can anyone give me a simple code to starts out with? THx
|
||
|
|||
|
|||
|
Rank: ? (4821)
Member #: 3416 |
is your program only meant to handle one letter?
either way i recommend handling the "number" input as a string, and checking what numeric char it starts with, then seeing what comes next. if you try something out and find a more specific question i could probably be more help to you.
my mind is like a steel trap! it only hangs on to the big stuff. visit my forums at track7.org
|
||
|
Please login or register to post a reply.