Question: Using arrays This is an example below how i want it 7. Name Arranger Write a program that asks for the user's first, middle, and
7. Name Arranger Write a program 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. MattPakbaz.CString Microsoft Visual Studio File Edit View Project Build Incredibuild Debug Team Tools Test R Tools Analyze Window Local Windows Debugger . main.cpp. MattPakbaz CString (Global Scope) 19 2 Evoid checkEmail) 21 const int SIZE 3; bool hasAt = false; bool hasDot false; //An array of 30 chacters (use 29 only) char email[SIZE]; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
