How can I convert a number into its written form?
For example, I input 15, and the program will output "fifteen".
I'm doing this in a console application. It would be better if, instead of giving me the full answer, you could set me on the right path.
All I can think of now is a very long switch structure for every character in the number.
For example, I input 15, and the program will output "fifteen".
I'm doing this in a console application. It would be better if, instead of giving me the full answer, you could set me on the right path.
All I can think of now is a very long switch structure for every character in the number.
Comment