Hi i would just like to ask how or what's the logic needed to make a c program converting a number to a word?
1,000,000 = one million
1000000 = one million
1000000.00 = one million (or one million dollars zero cents)
1,000000 = one million
i'm really finding it hard because of the commas, the decimal point, and that it's limit is 9,999,999,999 = nine billion nine hundred ninety nine million nine hundred ninety nine thousand nine hundred ninety nine.
i know i should use modulus=% to separate the digits. but what about the commas and the decimal point?
any advice? or sample codes?