Question: A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock. The time clock shall keep a history of an employee's hours for a two-week pay period. The application shall have the following functionality:
The main screen shall act as a menu to access program functionality and to exit the program.
The main screen shall:
Display 4 options
A) Add New Employee - Displays new employee screen
B) Punch In/Out - Displays punch in/out screen
C) Report - Displays report screen
D) Exit - Exits the program
Display an input field called "Choice" to input one of the four options.
Inputting an incorrect option shall display a prompt indicating that the input was invalid and to try again.
Optional functionality: If the user enters an incorrect value more than 3 times, display a prompt that the program is exiting and close the program.
Answer this question and show each and every step with example.