(Solved) : 410 Lab Name Format Many Documents Use Specific Format Person S Name Write Program Whose I Q44107201 . . .
for c++ pls
4.10 LAB: Name format Many documents use a specific format for a person’s name. Write a program whose input is: firstName middleName lastName, and whose output is: lastName, firstName middlelnitial. Ex: If the input is Pat Silly Doe, the output is: Doe, Pat S. If the input has the form firstName lastName, the output is lastName, firstName. Ex: If the input is: Julia Clark, the output is: Clark, Julia Show transcribed image text 4.10 LAB: Name format Many documents use a specific format for a person’s name. Write a program whose input is: firstName middleName lastName, and whose output is: lastName, firstName middlelnitial. Ex: If the input is Pat Silly Doe, the output is: Doe, Pat S. If the input has the form firstName lastName, the output is lastName, firstName. Ex: If the input is: Julia Clark, the output is: Clark, Julia
Expert Answer
Answer to 4.10 LAB: Name format Many documents use a specific format for a person’s name. Write a program whose input is: firstNam…
OR