getline() and write() functions of stream I/O
Use of functions getline() and write of cin and cout steam I/O objects.
Learning Objectives
- Use of getline() to collect the whole line irrespective of spaces and other whitespaces.
- Use of write() to output data to the given stream which is cout stream in this example.
