Display Number Entered By User In C++
cin>> is used to take value from the user. cout<< is used to print value. #include <iostream> using namespace std; int main() { int no; cout << “Enter an integer value: “; cin >> no; cout << “You entered ” << no; return 0; }… Read More »Display Number Entered By User In C++