Example2_21 - //Line 7 cout << "3 + 5";...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <iostream> using namespace std; u int main() { int a, b; a = 65; //Line 1 b = 78; //Line 2 cout << 29 / 4 << endl; //Line 3 cout << 3.0 / 2 << endl; //Line 4 cout << "Hello there.\n"; //Line 5 cout << 7 << endl; //Line 6 cout << 3 + 5 << endl;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //Line 7 cout << "3 + 5"; //Line 8 cout << endl; //Line 9 cout << 2 + 3 * 6 << endl; //Line 10 cout << "a" << endl; //Line 11 cout << a << endl; //Line 12 cout << b << endl; //Line 13 return 0; }...
View Full Document

This note was uploaded on 03/08/2011 for the course CSIT 139 taught by Professor Duzut during the Spring '11 term at Los Angeles City College.

Ask a homework question - tutors are online