Discover new information and insights with the help of IDNLearn.com. Discover the information you need quickly and easily with our reliable and thorough 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:
