Algoritme
Pendent de fer
PENDENT
Activitat
readln() reads a line from stdin and returns it or throws a RuntimeException if EOF has been reached.
println("What is your nickname?")
val nickname = readln()
println("Hello, $nickname!")You're reading a preview.
Sign in with Google to read the full page. A Google account includes 5 free pages in total; students and teachers read their course pages without limit.
Sign in