+ 5
How to get user input in java?
7 ответов
+ 4
int number;
Scanner variable = new Scanner(System.in);
number=variable.nextInt();
+ 5
Sreejith, check out my eligibility code please
+ 5
Thanks@Sreejith
+ 4
Thanks Sreejith! It worked: asks for input,
but displays error on running
+ 3
Anamta Fatima you need to import scanner
import java.util.Scanner;
+ 3
Anamta Fatima to mention someone type @ and then select their username from the list that appears ☺️☺️