/* Lecture code 0.1 * * Electronic parrot: Reads in an integer from the user and prints it on * the console. Note that this does not do error-checking of any form. */ #include using namespace std; int main() { cout << "Please enter an integer: "; int myInteger; cin >> myInteger; // Use stream extraction operator to read data cout << "You entered: " << myInteger << endl; return 0; }