REMEMBER the scanner class works different with different datatypes, so always change the type of input you will create. For example, for a String do nextLine(), for an integer do nextInt(), for a double do nextDouble() and so on.
For more info on the scanner class, visit: https://www.w3schools.com/java/java_user_input.asp
@smartcode8174