/************************************************************ * * FileName: sampleio.cpp * Author: Ada Lovelace * Purpose: Demonstrate Basic I/O operation * by inputting a number and outputting * the number just entered. * **************************************************************/ #include using namespace std; int main() { int number; cout << "Please enter a number:"; cin >> number; //input stream //output stream cout << "You entered: " << number << endl; return 0; } // end program