0

Program that performs an infinite addition

Hi everyone āœ‹šŸ¼, My question is in the title... Iā€™m trying to implement a calculator that can take infinite number. Do a simple calculator I know how to do that, but a calculator Of infinite number I donā€™t. I need help for know how do I have to think for do this. Thank you

22nd Oct 2019, 8:25 AM
Siyam
Siyam - avatar
3 Answers
+ 9
Nothing on a computer is truly infinite.
22nd Oct 2019, 12:42 PM
Sonic
Sonic - avatar
+ 1
hmmmm, do you mean that run infinitely??? if so you can use do-while or while loop
22nd Oct 2019, 8:47 PM
āœ³AsterisKāœ³
āœ³AsterisKāœ³ - avatar
0
No I mean, for the program take two strings like :Ā«Ā 12638399000028Ā Ā» and Ā«Ā 6637373888373Ā Ā» and the program writes as a string the answer of the additon
22nd Oct 2019, 9:00 PM
Siyam
Siyam - avatar