Question: Write a function that asks for the user's first, middle, and last names. The names should be stored in three different character arrays. The program

Write a function that asks for the user's first, middle, and last names. The names should be stored in three different character arrays. The program should then store, in a fourth array, the name arranged in the following manner: the last name followed by a comma and a space, followed by the first name and a space, followed by the middle name. For example, if the user entered Carol Lynn Smith, it should store Smith, Carol Lynn in the fourth array. Display the contents of the fourth array on the screen. Write a function that asks for a password and then verifies that it meets the criteria below. If it doesn't meet the specifications, the program should display a specific error message telling the user why the password is invalid. Criteria: between 6 and 14 characters long at least one uppercase and one lowercase character at least 1 digit at least one punctuation symbol 3. Combine the functions in a single driver program that checks that both functions work properly.

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!