So this simple solution reads the file "level1.lbh" and prints out the frst two lines of text in that file. My questiuon is WHY? I am totally new to programming
The program does not exactly read "two lines of text". It reads two integers. It is a mere (happy?) coincidence if the file "level1.lbf" happens to contain one integer in each of the two first lines and no other characters (save whitespace).