Respuesta :

keyboard.nextInt(); This is an example of using the scanner class to get input from the user. The nextInt(); function means that you're getting an integer from the user.

var must be defined as an int.

Otras preguntas