in reply to Adding Numbers
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Adding Numbers
by NastyPenguin (Initiate) on Nov 21, 2010 at 06:17 UTC | |
by GrandFather (Saint) on Nov 21, 2010 at 06:26 UTC | |
by TomDLux (Vicar) on Nov 22, 2010 at 01:22 UTC |