Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

How flying airoplane?

Answered: 1 week ago

Question

Are robots going to displace all workers? Explain your answer.

Answered: 1 week ago