Solve quary about scanners method in java

Why we write in scanner method ( System.in) why we use to to implement my codeIMG_20211222_185946

because,the system takes an input from the user .