0

I have to creat a program where the user inputs two large ints, and they are converted into string in order to add them together (assuming they are larger than 20 characters). One thing, is that it tells me to convert the numbers to a string and store it in reverse order....how do I do this?

4
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by firstPerson
0

I have to creat a program where the user inputs two large ints, and they are converted into string in order to add them together (assuming they are larger than 20 characters). One thing, is that it tells me to convert the numbers to a string and store it in reverse order....how do I do this?

Thats not smart. How about just getting the inputs as a string and
avoid the conversion? Try looking at the code snippet here.

0

Thats not smart. How about just getting the inputs as a string and
avoid the conversion? Try looking at the code snippet here.

I don't see the code snippet....

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.