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!
3 Réponses
+ 32
Hello Rahul Deshwal ! 👍😉
You post this question twice, please delete one of it! 😊
https://www.sololearn.com/discuss/1316935/?ref=app
+ 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
0
Thanks