A tree view of the P6 directory should look like this: P6/ ├── Chihiro.jpg ├── Haku.jpg ├── Yubaba.jpg ├── Success.jpg ├── Maze1.txt ├── Maze2.txt ├── Maze3.txt ├── Maze4.txt ├── Maze5.txt ├── bin/ └── src/ └── Maze.java |
// Create maze String fileName = args[0]; Maze maze = new Maze(fileName); System.err.println("Maze name: " + fileName); // Get dimensions int mazeWidth = maze.getSize(); int mazeHeight = maze.getSize(); System.err.println("Maze width: " + mazeWidth); System.err.println("Maze height: " + mazeHeight);Once all files are in place, follow these steps:
private SodaFlavor sodaFlavor; private SodaSize sodaSize; private Sandwich sandwich; private SideOrder side;
Drink Flavor: Coke Drink Size: Medium Sandwich Type: QuarterPounder Side Order: OnionRings Cost of Order: $6.67