Write down a fragment of code which reads a line of text (using getline) from standard input containing of a last name followed by the first name (separated by exactly one blank), and prints out the first initial followed by the period then a blank then the full last name. Declare any essential variables.(string processing).