I\'m having trouble figuring out how to fix these errors I keep getting for my code
import java.util.Scanner; public class Unit02Prog1 { public static void
numWords is a String, not an int. Parse the String to get an int.
numWords
String
int
int num_words = Integer.parseInt(numWords);