Java Lab 5
Java Lab 5
Create a new Java file (empty Java file), save it to your H: drive, call it lab4
Insert the following code to set up your program:
import java.util.Scanner;
85pt:
100pt:
Expand the above program to allow the user to choose which part of the program to run, rather than
always running through every for loop (hint: place the for loops inside if-else statements).
Notes:
System.out.println(i);