// CSE 333 Su12 Lecture 9 demo: helloworld5.cc // Gribble/Perkins // A simple example of C++ stream input. #include #include using namespace std; int main(int argc, char **argv) { int num; cout << "Type a number: "; cin >> num; cout << "You typed: " << num << endl; return EXIT_SUCCESS; }