//File: TestTable0.java import CSLib.*; public class TestTable0 { public static void main (String [] args) { int [] [] score = new int [30] [15]; InputBox in = new InputBox(); in.setPrompt("How many students are enrolled? "); int students = in.readInt(); in.setPrompt("How many quizzes were given? "); int quizzes = in.readInt(); for (int student = 0; student < students; student++) { in.setPrompt ("Enter scores for student " + (student+1)); for (int quiz=0; quiz < quizzes; quiz++) { score [student] [quiz] = in.readInt(); } } OutputBox out = new OutputBox(); out.setSize(300, 200); //The following sets up the headers for the table out.println ("The gradebook is as follows: "); out.print ("Quiz\t"); for (int k=1; k<=quizzes; k++) { out.print (k + "\t"); } out.println(); out.println(); for (int s=0; s