19.11.2009

User Input

variant = Integer.parseInt ( new
InputStreamReader(System.in).readLine());

answer = new InputStreamReader(System.in).readLine()

groovy inout

print "How old are you?: "
result = new InputStreamReader(System.in).readLine()
println "You are: " + result