When I run your program, and enter the numbers '3' and '7', the output I get is:
44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444 44444444444444444444444444444444444444444444444444444444444444444444444444444444
At that point I pressed Control-C to interupt the program.
Is that what you got? Is that the result you were expecting? In what way did my experience differ from your expectations?
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re: Adding Numbers
by TomDLux
in thread Adding Numbers
by NastyPenguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |