Program that performs an infinite addition | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов
+ 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