/* * getInt.cpp * Read in a number and output that number * * Created by Shannon Steinfadt on 4/7/08. * */ #include using namespace std; /* Could also use the following two lines as an alternative using std::cout; using std::cin; /* int main() { //int your_number; double your_number; cout << "Please enter your favorite number: "; cin >> your_number; cout << endl; cout << "Your favorite number is " << your_number << endl; cout << "That is a nice number." << endl; return 0; }