Converting numbers and characters to words

hello
im having one problem to do the homework

i dont know how to create one program that convert numbers and characters to words
like 1, 2 ,3
appear one, two, three

please helpe me
i need to deliver it until 11:59pm of today
Make an array of strings. const char* number[] = {"zero", "one", "two"}//and so on . I hope you can figure out the rest.
If you need to represent numbers >= 20, you should make a more complex system, but the principle is the same.
Topic archived. No new replies allowed.