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 Answers
+ 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