Import the scanner class from the java.util package:Import java.util.Scanner;Put this line in before anything else Another […]