Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is an example of how I want it 7. Name Arranger Write a program that asks for the user's first, middle, and last names.

image text in transcribed
This is an example of how
I want it
image text in transcribed
image text in transcribed
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. CString Microsoft Visual Studio d MattPakbaz File Edit View Project Build Incredibuild Debug Team Tools Test R Tools Local Windows D main.cpp* X SMattPakbaz-CString (Global Scope) # includeiostream> using namespace std; 6 8 //Function prototypes 9 void checkEmail0; 1e 11 12 13 14 15 16 17 int main() checkEmail); system("pause"); return 0; 19 20 void checkEmail) 21 23 24 25 26 27 const int SIZE = 30; 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

Explain recruiting technology.

Answered: 1 week ago

Question

Define and operationalize types of employment discrimination.

Answered: 1 week ago

Question

Describe sexual harassment in the global environment.

Answered: 1 week ago