cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Index of an integer number
Index of an integer number
Jul 12, 2014 at 9:46pm UTC
slimfit
(3)
For example if a user input 123. I want to able to c=first_number_of(123).
I want to break the number down to translate it to words (one hundred twenty three).Please help me the index part.
Thanks
Jul 12, 2014 at 9:58pm UTC
admkrk
(505)
Take your input as a string then you can reference each digit by index.
Topic archived. No new replies allowed.