Ch3_InputFailure - //Line 6 cout << endl; //Line 7...

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

View Full Document Right Arrow Icon
//Input Failure program / #include <iostream> using namespace std; u int main() { int a = 10; //Line 1 int b = 20; //Line 2 int c = 30; //Line 3 int d = 40; //Line 4 cout << "Line 5: Enter four integers: "; //Line 5 cin >> a >> b >> c >> d;
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 6 cout << endl; //Line 7 cout << "Line 8: The numbers you entered are:" << endl; //Line 8 cout << "Line 9: a = " << a << ", b = " << b << ", c = " << c << ", d = " << d << endl; //Line 9 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