
Write a C++
You have been tasked to write an application that will allow a user to change their system password. The XYZ Corporation has the following rules for passwords:
- each password should have a minimum of 8 characters
- each password should have a minimum of 2 uppercase characters (A - Z)
- each password should have a minimum of 2 lowercase characters (a - z)
- each password should have a minimum of 2 digits (0 - 9)
- each password should have a minimum of 2 special characters of which the following characters are allowed: !, @, $, %, and & (in any combination)
Once the user has created a new password that passes the above requirements, the user must then retype the password for the program to verify that the same password was entered by the user.
If the user creates a password that does not meet the minimum requirements, be sure to let the user know the entered password does not meet the minimum requirements and allow the user to retype the password.
If the user creates a password that does not match the second entry of the password (both entries much match), then be sure to let the user know the password update is unsuccessful.
If the password entered does not meet the minimum requirements, an error message should be displayed and allow the user to try again.
If the password entered contains the minimum requirements listed, then ask the user to retype the password for verification.
If the two entered passwords do not match, an error message should be displayed and the user should be allowed to retype the password.

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps with 2 images

- Language is C++ Lab14A: The Architect. Buildings can be built in many ways. Usually, the architect of the building draws up maps and schematics of a building specifying the building’s characteristics such as how tall it is, how many stories it has etc. Then the actual building itself is built based on the schematics (also known as blueprints). Now it is safe to assume that the actual building is based off the blueprint but is not the blueprint itself and vice versa. The idea of a classes and objects follows a similar ideology. The class file can be considered the blueprint and the object is the building following the analogy mentioned above. The class file contains the details of the object i.e., the object’s attributes (variables) and behavior (methods). Please keep in mind that a class is a template of an eventual object. Although the class has variables, these variables lack an assigned value since each object will have a unique value for that variable. Think of a form that you…arrow_forwardGiven the following C/C++ code: int x = 1; int foo() { return x; } int bar() { int x = 2; return foo(); } int blah() { x = 3; return bar(); } int y = blah(); Which Value will be assigned to the variable y?arrow_forwardWrite your program in C# with Visual Studio, or an online compiler - compile, and execute it. Upload the file with the .cs extension to Canvas for grading. Canvas will not accept any other file type. • There will be a 10% deduction for each weekly last submission. You only get a maximum of two weeks to make up for any late work; Ex: late two weeks = 20% deductions Programming Assignment 3: Chapter 4 Write, compile, and test a program called Credit Test. Write a program that asks a user to enter their Credit Score and Down payment for a loan approval process. Display credit accepted message if the user meets either of the following requirements: A minimum credit score of 675, and a down payment of $35000 or above. A credit score below 675, and a down payment of 85000 and above. A credit rejected message should display if the user doesn't meet any of the qualification criteria.arrow_forward
- Demonstrate an understanding of basic C++ programming concepts by completing the following: Create a simple C++ console application using Eclipse IDE that will accomplish the following: Prints the following information for a fictional person: First Name, Last Name, Street Address City Zip codearrow_forwardHelp write a C++ Program to do the following: This is to create a prototype for a Web browser. You’ll do this by transforming the file viewer created (SHOWN BELOW) into a browser for a web of files that are all located on a single computer. (This is in contrast to the real World Wide Web whose pages are located all over the world.) Details The files in this web of files are plain text files that may contain anchors that provide links to other files. More precisely, an anchor is a string of the form 1 where filename is the name of another file and text is a piece of text. For example, here’s a line of text that contains an anchor: More is available. To keep things simple, assume that every anchor is separated from adjacent text by white space and that the strings filename and text cannot contain white space. Your browser should work exactly like the file viewer, except for the following: 1. When an anchor is displayed, it should appear as [n] where n is a number that is unique to…arrow_forwardDemonstrate an understanding of basic C++ programming concepts by completing the following: Program: Create a simple C++ console application that will write a program that will take two string inputs from a user. Your program should concatenate the two strings and then print the resulting output to the screen. Take the two string inputs from the user 3 times for varying string lengths. Program Analysis: Given your program implementation, discuss and identify the possible vulnerabilities that may exist. If present, discuss solutions to minimize the vulnerabilities. Then discuss and identify possible problems that can result in errors for string manipulation of data. Your program analysis should be 1-2 pages in length.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





