0

how to direct use if else statemant use with scanner funtion

how to direct use if else statement use with scanner function in an easy way!

19th Apr 2019, 6:34 AM
Rahul Deshwal
Rahul Deshwal - avatar
3 Antworten
+ 32
Hello Rahul Deshwal ! 👍😉 You post this question twice, please delete one of it! 😊 https://www.sololearn.com/discuss/1316935/?ref=app
19th Apr 2019, 7:09 AM
tooselfish
tooselfish - avatar
+ 5
Rahul Deshwal add this to your code : Scanner sc = new Scanner(System.in); int a = sc.nextInt(); System.out.println(a); and read more here and look UP-NEXT👇 https://www.sololearn.com/learn/Java/2220/?ref=app
20th Apr 2019, 10:54 AM
Daljeet Singh
Daljeet Singh - avatar
0
Thanks
20th Apr 2019, 5:24 AM
Rahul Deshwal
Rahul Deshwal - avatar