• Source
    1. #include <iostream>
    2. using namespace std;
    3.  
    4. // reminder- special character '\n' is the same as endl;
    5. // reminder- think of cout as 'show to screen'
    6.  
    7. int main() {
    8.  
    9. int apples; //int variable called apples
    10. apples = 5; //storing a intenger of 5 into apples
    11.  
    12. cout << "How many apples do we have?" << endl;
    13. cout << "I believe we have " << apples << " apples.\n"; //cout our variable
    14.  
    15. apples = 2; //storing a intenger of 2 into apples changing its value
    16. cout << "Can you double check please?\n";
    17. cout << "ahh I told you, we have " << apples << " apples! ";
    18. cout << "Wait what??" <<endl;
    19.  
    20. return 0;
    21. }// Leo Garza 12/12/2018