Question: use C language Define two array in the main function for password checking, the first array is pass[10] and the second is password[10]. The first
use C language

Define two array in the main function for password checking, the first array is pass[10] and the second is password[10]. The first one is to store the password that you read from user and the other one is to save the permanent password. Once the user run your program, you should ask him/her to enter the password and check if it is correct or not. You can check by comparing the entered password (pass[]) with the saved cone (password[]) using strcmp function. you should allow the user to use the system and all menus once he entered a correct password, otherwise ask him to enter the password again. (the user is allowed to enter the password three times only)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
