Question: Write an application that stores at least five different department and supervisor names in a two-dimensional array. Allow the user to enter a department name
Write an application that stores at least five different department and supervisor names in a two-dimensional array. Allow the user to enter a department name (such as “Marketing”) and display the corresponding supervisor’s name. If the department does not exist, display an error message. Save the file as Departments.java.
Step by Step Solution
3.28 Rating (157 Votes )
There are 3 Steps involved in it
import javaxswing class Departments public static void mainString args Stri... View full answer
Get step-by-step solutions from verified subject matter experts
