Practical Lab Week 5
Practical Lab Week 5
Objective: the objective of this lab is to practice exceptions, and unit testing.
1. Find the errors in the program below by using the debugger in your IDE and fix the errors.
import java.util.Scanner;
import java.util.Random;
userguess = userInput.nextInt();
userInput.close();
System.out.println("Thanks for playing the Guess Game!");
}