Look at the error message you got:
incompatible types
found : java.io.InputStream
required: java.lang.String
reply = System.in;
The compiler is saying the it found an InputStream (System.in)
and it required a String. Look up the type or definition of System.in.
What is it? It is NOT a String, its an InputStream object that can be used to read data. So you need to figure out how to use that object to read the input from the console. Read the
doc the InputStream class and see what methods it has available for reading. You'll need to use these somehow to get what the user has entered.
Some definitions to consider:
System is a class.
in is a public variable in that class.
System.in accesses that class.