// Game.java (c) 2004 Kari Laitinen // http://www.naturalprogramming.com // 2003-10-02 File created. // 2004-11-06 Last modification. /* This is the multiline comment. */ import java.util.* ; class Testfile { public static void main( String[] not_in_use ) { Scanner keyboard = new Scanner( System.in ) ; int integer_from_keyboard ; int one_larger_integer ; /* this is not needed int variable_x = 5 ; // neither this. int adfadfasdfasdfas = 9 ; *****\"*/ System.out.print( "\n This program is a computer game. Please, type in " + "\n an integer in the range 1 ... 2147483646 : " ) ; integer_from_keyboard = keyboard.nextInt() ; // yeah yeah // nice nice yeah. /* yeah */ one_larger_integer = integer_from_keyboard + 1 ; System.out.print( "\n You typed in " + integer_from_keyboard + "." + "\n My number is " + one_larger_integer + "." + "\n Sorry, you lost. I won. The game is over.\n") ; System.out.print( "\n Year /* comment */ yes. \n" ) ; } }