Timeline for Converting an integer into the written form
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 13, 2011 at 0:04 | comment | added | seand |
Yeah, it looks pretty straightforward to me. If you really want me to nitpick, I would change the name of the function because I would expect print to print to the console, and the names of the arrays would make more sense to me if they were just called something like numbersText and numbersByTensText (but that's just personal preference).
|
|
| Dec 12, 2011 at 22:43 | comment | added | user9124 | Thanks for that. I think I can use a conditional statement when assembling the string to determine whether or not to add the " ". Was the rest of the logic easy to follow, clear, etc? | |
| Dec 12, 2011 at 22:11 | history | answered | seand | CC BY-SA 3.0 |