Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write this problem using C 1- Write a program to read a string named password of max size 19. You are going to check the

Write this problem using C

image text in transcribed

1- Write a program to read a string named password of max size 19. You are going to check the validity of this password such that it has: -minimum of 8 characters and maximum of 15 characters -both uppercase and lowercase characters -it should have at least two digits it should have at least one punctuation character -the password should not start with a digit or punctuation character The code should be written in a loop that continuously ask the user to enter a different password until all the conditions are met. Each time the appropriate statement must be printed such as: -password too short -password too long -needs at least two digits -needs uppercase characters as well -needs lowercase characters as well -needs punctuation character -You may not start with digit or punctuation

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 Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

14 Reliability and validity of selection tests/tools/ methods.

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago