The program is run using the following command: java programName #row #cols < students.txt #rows and #cols are integers indicating the number of rows and columns of seats in the classroom. students.txt is a text file holding the student names.

Solved
Show answers

Ask an AI advisor a question