Question: Please answer in C++ Objective: Write a program called lab6.cpp that will accept the data shown in Table 1 from the user and verify whether
Please answer in C++

Objective: Write a program called lab6.cpp that will accept the data shown in Table 1 from the user and verify whether they meet the criteria described. Once the user has provided the inputs correctly output the message "Results Ok!". Each validation step must use a function that you have created. You must validate each input individually, i.e. you should get the First Name and validate it and then move onto Last Name only if the First Name is valid. Table 1 User input and validation criteria. Input from user First Name Criteria it must satisfy Must not have less than 2 characters or more than 10 characters. The first name must start with a capital letter and all other characters must be lower case letters. The first name must not have any numeric digits or cial characters Must not have less than 2 characters or more than 10 characters. The last name must start with a capital letter and all other characters must be lower case letters. The last name must not have any numeric digits or special characters Must be 2 characters exactly, and both must be u Must be 5 characters exactly, all must be digits Last Name State Code Zip Code case
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
