Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started