Question: ENTINEL L) (20 pts.)- In this assignment, you will be creating a sentinel program that asks for a password. Upon entering the correct password a
ENTINEL L) (20 pts.)- In this assignment, you will be creating a sentinel program that asks for a password. Upon entering the correct password a menu will be displayed prompting the user to enter a number to run one of the options chosen. The program should A) (3/20 pts.)-Ask for the password to gain access. Prompt the user to provide the password. It should not be case sensitive. If the password is incorrect, the user should be notified. Make sure you provide the password with your submission. e B) 4/20 pts.)Display the menu. 1) 2) 3) 4) 5) 6) Rock, paper, scissors (programming project #5, page 386) Tip calculator (in class practice program) Number adding game (in class practice program) Guessing game (Project #3 & 4) Choose for me. This uses Random class to select a program (1-4) to run. Exit C) 4/20 pts.)- Able to handle possible exceptions throughout your program. Your program must not stop D) (2/20 pts.)- You must use printf to format the menu so that it is close to being centered. If the user enters an E) 2/20 pts.)- You should use procedural design heuristics as best you can when you combine the different F) (5/20 pts.) - Include appropriate program documentation and formatting including: running when an exception is thrown and must inform the user what he did wrong before continuing. improper choice or data type your exception must catch it and you should reprint the menu so it does not get pushed off the screen. programs together. Also comment as best you can on how and where you used design heuristics. 1) 2) 3) 4) 5) Your first and last name, your email information, and the date A short description of the program's function Comments necessary to explain your code Proper indentation and convention Correct output G) Save your file as "Sentinel.java" and upload to Canvas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
