Look here for a complete description of the problem. Your code should follow the coding standards,
good names, spacing, easy on the eyes...etc. Make sure you handle all test case and
boundaries. Good Luck, and happy coding. Although this is a C++ forum, it would be nice to
see some different language used to solve this, but not necessary though.
mrnutty 761 Senior Poster
Recommended Answers
Jump to PostCool... I was thinking about having the input answer as a string. Remove the trailing zeros (by creating a trim function) reversing it then converting it to an integer.
But I like your solution better.
All 2 Replies

1stDAN

iamthwee
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.