Write an application that stores at least five different department and supervisor names in a two-dimensional array.

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 (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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: