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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started