C++ Console I/O Function
In C++, we can read the input entered by a user at console using
an object cin of istream class and we can write the output at
console using an object cout of ostream class. Through
the cin and cout objects, we can access the formatted I/O
functions.