0
Scanner in java
How should i use number (int) in java. Please at least one example
2 Respostas
+ 3
Hi Fakea Vangchhia it looks like you have completed the whole course and are yet struggling with topics like scanner.
Try revising it once again.
https://www.sololearn.com/learn/Java/2220/
+ 2
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();