use of conturine in c++ code example
Example 1: how to get input from the console in c++
int age;
cin >> age;
Example 2: get data from terminal c++
int i;
cout << "Please enter an integer value: ";
cin >> i;
int age;
cin >> age;
int i;
cout << "Please enter an integer value: ";
cin >> i;