#include // include code to print out to the screen void main() // start the main section of our program { int num1=0; // create to integer variables int num2=0; int answer=0; cout << "Hello World" << endl; // print to standard out cout << "Hello"; cout << "Carman"; cout << "Hello How are you?" << endl << "Carman"; cout << "\tWelcome to My\nProgram"; cout << "It is \"really\" sunny outside." << endl; cout << "Pick your first number: "; cin >> num1; cout << "Pick another number: "; cin >> num2; // cin >> a_variable cin reads user input into a variable answer = num1 + num2; cout << num1 << " + " << num2 << " = " << answer << endl << endl; float myDecimalNumber = 3.14; // can hold decimals double reallyBigDecimalNumber = 12141241414.1414134141414; long reallyBigInteger = 135901530915; // no decimals allowed! char aSingleLetter = 'c'; // put the letter between apostrophes bool trueORfalse = true; // a boolean is either true or false bool walksToSchool; walksToSchool = true; answer = num1 - num2; // num1 * num2 multiply // num1 / num2 division answer += 5; answer = answer + 5; answer -= 5; answer *= 5; // answer = answer * 5; answer /= 5; // answer = answer / 5; answer++; // increments answer by 1 ++answer; answer=0; num1=5; num2=5; answer= num1++ + num2; cout << answer << endl; // 10 cout << num1 << endl; // 6 answer=0; num1=5; num2=5; answer= ++num1 + num2; cout << answer << endl; // 11 cout << num1 << endl; // 6 num1--; --num1;