Question: 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

Write this problem using C 1- Write a program to read a

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

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!