You should include the entire program in your answer for someone who’s beginning to learn as they may not use an IDE so they may not know where imports are required.Scanner package and class in the ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results