+ 3

Getting input from the user

newbie here

3rd Jan 2018, 4:41 PM
Geraldine Omay Rusiana
Geraldine Omay Rusiana - avatar
3 Answers
+ 4
language?
3rd Jan 2018, 4:44 PM
Vukan
Vukan - avatar
+ 5
Scanner sc = new Scanner(System.in); String s = sc.nextLine(); // nextInt for integers, nextDouble for doubles...
3rd Jan 2018, 4:49 PM
Vukan
Vukan - avatar
+ 4
java
3rd Jan 2018, 4:46 PM
Geraldine Omay Rusiana
Geraldine Omay Rusiana - avatar