0

Convert numeric dollars to its English equivalent

How do I code numbers to English form like 3 is three or 100 is one hundred in C++ Code

25th Oct 2018, 7:09 PM
Guillermo Pimentel
Guillermo Pimentel - avatar
1 Odpowiedź
+ 1
Separate a number into sections (this many thousands, this many hundreds, etc). Then print each section individually. Use switch statements for printing one-nine.
25th Oct 2018, 7:17 PM
Vlad Serbu
Vlad Serbu - avatar