You're a beginner therefore at some point recently you
should have counted from 1 to 10 in a loop.
Fill in the blanks.
int lineNumber = 1;<br />while(....)<br />{<br /> ....<br /> System.out.println(lineNumber + ": " + ....);<br /> lineNumber++;<br />}
ps. Please put your code in <pre></pre> tags; as it makes it more readable. :)