Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Join our platform to get reliable answers to your questions from a knowledgeable community of experts. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform.
Many documents use a specific format for a person's name. Write a program that reads a person's name in the following format:
firstName middleName lastName (in one line)
and outputs the person's name in the following format:
lastName, firstInitial.middleInitial.
Ex: If the input is:
