cout cin in c++ code example
Example 1: C++ cin cout
int age;
cout << "How old are you ?" << endl;
cin >> age;
Example 2: how to cout in c++
std::cout << "Hello World!" << std::endl; //Or you can do
std::cout << "Hello World!" <<; //Only in some scenarios