/*										Author:	John Howell			Drawer 76
	Program name:   add2.cpp
	Purpose:        To show variable declaration
					To "set up" for showing the assignment operator.
*/

#include <iostream.h>
using namespace std;

void main ( )
{
	int  first, second, sum;

	cout << "This program can will ask for two integers.\n" ;
	cout << "Enter the first integer: ";
	cin  >> first;
	cout << "Enter the other integer: ";
	cin  >> second;
	
	cout <<  "You entered " ;			// This is an "echo check"
	cout << first ;
	cout <<  " and " ;
	cout << second ;
	cout << "\n";
	
	
	sum = first + second;
	
	cout << "Their sum is ";
	cout << sum;
	cout << endl; 	





	return 0;
}
/*
	Alternative formats for the "echo check:"
	
	cout << "You entered "  <<  first  <<  " and "  <<  second  << "\n" ;
	
	cout << "You entered "  <<  first  <<  " and "  <<  second  << endl ;
*/
	
	
//	We'd like also to know their sum, so we'd like to end with:

	
	
	
	


/*
This program can will ask for two integers.
Enter the first integer: 4
Enter the other integer: 3
You entered 4 and 3
Their sum is 7
*/
//Try entering 100 & 200; then 1000 & 2000, then 10000 & 20000, etc., until anwer is weird.

