I'm new to programming in general, and I'm wondering if you can help me.
Does anyone have a solution to a problem where you are given a number, lets say, 1645030, and have to produce the output: one million six hundred forty five thousand thirty?
I have a partially working solution that works for numbers 1000 and less but it's very clunky and doesn't work when I extend it (massive confusing mass of if's). Does anyone have a neater, working way of doing it? Much appreciated!
I'm just learning c as a hobby, and this has stopped me in my tracks!