Ok thanks. Can you explain the magnitude array more?
Type: Posts; User: Zim
Ok thanks. Can you explain the magnitude array more?
#include <stdio.h>
char *units[11] = {"", "one", "two", "three", "four", "five", "six",
"seven", "eight", "nine", '\0'};
char *tens[11] = {"","eleven ","twelve ","thirteen ",
"fourteen...
ok I've got it to work for 1 - 999 minus the teen numbers. Anyone got any tips for those? Thanks all.
Thanks so much for your help guys :)
hi all, I need to convert a string of numbers ie 125 into words ie one hundred and twenty five. So far all I have managed is to read the numbers in as a string into an array. I'm not the greatest at...