Author | Message |
---|---|
304374842
Posts: 56
|
Posted 15:29 Apr 23, 2016 |
Hi, I am working on number seven and not sure how to convert the check amount into words. I have the check amount input as a double. I am not sure if we covert it to the words in printf. I also only see how printf works for spacing but not changing from numbers to letters. I am really not even sure where to go with this one. Any ideas? |
kknaur
Posts: 540
|
Posted 16:49 Apr 23, 2016 |
Printf is good for getting the spacing correct. To convert to words you will need to break down the number and use if statements to determine which word to use. |