When i use SOUT in a do while loop i would like it to do this: (its a guessing game)
NO TRY | PATTERN | RESULT
-------------------------------------
1. | 123 | PICO
2. | 145 | BAGELS
instead the line number 1 is replaced each time the user writes data:
NO TRY | PATTERN | RESULT
-------------------------------------
2. | 145 | BAGELS
So basically i am not able to keep the previous lines every time the loop runs.
Could anyone give me a clue on how to fix this?
Tnx