ARRAY 2D with char

i have:
char text[10][10]={"one","two","three","four","six","seven","eight","nine"}

i need output if i input=68 then the output=sixty eight..??

thx.. :)
Last edited on
have an array A with numbers 0 - 19
have an array B with numbers 20, 30, 40, ... 90
then if input < 20, a string from A
else print a string from B and, if needed, a string from A (use / and % operators in this part)
use std::map
store number as key, string as value


Topic archived. No new replies allowed.