Question
In Java, Write an application that allows a user to enter the employee names and their hire dates of up to 10 employees for Company
In Java,
Write an application that allows a user to enter the employee names and their hire dates of up to 10 employees for Company A.
Continue to prompt the user for employee names and their hire dates until the user enters the sentinel value STOP for an employee name or has entered 10 employee names, whichever comes first.
When the user is done entering employee names, calculate how many employee names were entered, and then show the names entered.
In a loop, continuously ask the user to type one of the employee names and display the hire date for the employee or display a message if the employee name was not entered before.
The loop continues until the user enters STOP for the employee name. Save the application as EmployeeHireDate.java.
(please indent the code too)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started