Many documents use a specific format for a person's name. Write a program whose input is: firstName middleName lastName
Posted: Mon May 02, 2022 12:18 pm
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, firstinitial middlelnitial. Ex: If the input is: Pat Silly Doe the output is: DoƩ, P.S. If the input has the form: firstName lastName the output is lastName, first initial Ex: If the input is Julia Clark the output is Clark, J.