import java.util.Scanner; /** * Demonstration of a solution to the classic Tower of Hanoi problem * @author Hyrum D. Carroll * @version 0.2 (May 4, 2020) */ public class TowerOfHanoi{ public static void main( String[] args ){ Scanner stdinScanner = new Scanner( System.in ); int numDiscs = 0; // number of discs System.out.print( "Please enter the number of discs: " ); numDiscs = stdinScanner.nextInt(); String startingTower = "tower 1"; String spareTower = "tower 2"; String endingTower = "tower 3"; } }