Question: in C Language Write a program that asks for a password and then verifies that it meets the stated criteria. 1. The password should be

 in C Language Write a program that asks for a password

in C Language

Write a program that asks for a password and then verifies that it meets the stated criteria. 1. The password should be at least 6 characters long. 2. The password should contain at least 1 uppercase and at least 1 lowercase letter. 3. The password should have at least 1 digit If it doesn't, the program should display a message telling the reason for Invalid Password. If password is entered in correct format display message "Correct Password" Sample Input: test Sample Output: Password must be at least 6 characters long. Given password is test. Sample Input: ABC123 Sample Output: Correct Password. Given password is ABC123. Part a) Provide at least two sample input and output [4 marks] Part b) Descriptive solution [upto 5 marks] OR step-wise pseudo-code (may or may not be executable) (upto 10 marks] OR Submit executable program code with proper indentation and comments (using C Language) (upto 16 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!