+ 1

How can i add "user input"(scanner) to my switch code

https://code.sololearn.com/ctuyC4XVUoFJ/?ref=app

18th Jul 2018, 7:26 AM
Y.SATYANARAYANA
Y.SATYANARAYANA - avatar
3 ответов
0
you can write ... Scanner sc = new Scanner(System.in); int day = sc.nextInt(); and you need to import import java.util.Scanner;
18th Jul 2018, 7:47 AM
Tesfa
Tesfa - avatar
0
add to my code send me....
18th Jul 2018, 10:32 AM
Y.SATYANARAYANA
Y.SATYANARAYANA - avatar
18th Jul 2018, 10:33 AM
Y.SATYANARAYANA
Y.SATYANARAYANA - avatar