Question: c++ Programming Exercise 6.2 Input Validation Purpose. Write a program with input validation. Modify the mort2.cpp program from chapter 4, to make a new program,

 c++ Programming Exercise 6.2 Input Validation Purpose. Write a program withc++

Programming Exercise 6.2 Input Validation Purpose. Write a program with input validation. Modify the mort2.cpp program from chapter 4, to make a new program, inputValidation.cpp. The modified program should prompt the user for a password before proceeding with the input prompts and calculations. Use an alphanumeric password of your choosing. Program I/O. Input: password, repeatedly until correct or CTRL-C (control-c) is pressed, and three programmer-selected inputs. Output: a statement that echoes the three inputs and the calculated resut Example. Here's what the output should look like, with user input in blue: Enter your password: password Enter your password: 12345 Enter your password: Pssword! In 12 years, $200 deposited per month will grow to $

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!