
Well as we know cin is an object which is used to take input from the user but does not allow to take the input in multiple lines.To accept the multiple lines as input we use getline c++. It is a pre-defined function in C++ which is defined in a <string.h> header file getline function...