Write a fragment of code that reads a line of text


Write a fragment of code that reads a line of text (using getline) from standard input consisting of a last name followed by a first name (separated by exactly one blank), and prints out the first initial followed by a period then a blank then the full last name. Declare any necessary variables.(string processing) 
with c++ 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a fragment of code that reads a line of text
Reference No:- TGS0108688

Expected delivery within 24 Hours