user input powered by(view source)

Description using scanner class
Output