Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Instructions: Create a C++ console application to ask the user to create a strong password. Tell the user the following requirements for the password: No

Instructions:

Create a C++ console application to ask the user to create a strong password. Tell the user the following requirements for the password:

  • No spaces
  • At least six characters
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one number
  • At least one special character (punctuation)

Prompt the user for a new password. Test the password validity based on the above criteria. If it is not valid, display an error message and keep repeating the process until the password is valid. Then, ask them to re-enter it. If passwords are not the same, prompt the user with an adequate message and ask them to confirm the first password again (Do not create a new one). If the passwords are the same, thank the user and tell them the password has been saved.

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Write an elaborate note on marketing environment.

Answered: 1 week ago