Question: #1 - Password (10 marks) Create a Password application that stores a secret password of your choice. The password application should prompt the user for
#1 - Password (10 marks) Create a Password application that stores a secret password of your choice. The password application should prompt the user for the password and then display "Welcome" if the correct password is typed. If after three attempts the correct password has not been entered the message "Access Denied." should be displayed. Application output should look similar to: Enter the password: homework The password you typed is incorrect. Enter the password: football The password you typed is incorrect. Enter the password: fish The password you typed is incorrect. Access denied. #2 -Arrays (10 marks) Create a Reverse application that stores the number corresponding to the element's index in an integer array of 10 elements. For example, the second element, which has index 1, should store 2. The application should display the title "Countdown and then list numbers stored in the array in reverse order. NOTE WELL 1. Ensure that your programs are documented (comments) as needed 2. Include your name and ID# in the source code 3. Make certain that your programs are debugged and working before submitting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
