Please explain the problem.
The code uses the wrong Scanner method to read a letter. nextInt() is for reading numbers.
Type: Posts; User: Norm
Please explain the problem.
The code uses the wrong Scanner method to read a letter. nextInt() is for reading numbers.
int A = 20,B = 4,C=7,D = 9, E = 10, F = 15, O = 6, U = 12, S = 12;
The names of variables are not useful when looking that user input.
There are several ways to associate a letter input by a user...