//Cecilia Rangel CSC5 Chapter 3, P. 146, #15
//
/**************************************************************
 *
 * Compute sum 
 * ____________________________________________________________
 * This program gives the total sum of two numbers given by the user
 *
 * 
 * Calculation is based on this Formula:
 * Sum =  Number 1 + number 2
 *___________________________________________________________
 * INPUT
 * 		Num1 : user input
 *		Num2 : user input
 *
 * OUTPUT
 *		sum = num1 + num2
 *
 **************************************************************/
#include <iostream>
using namespace std;

int main() {
	float num1; 
	float num2; 
	char ch;         
	float sum;     	


	cout << "Enter first number\n" ;
	cin >> num1;
	cout << "Enter second number\n";
	cin >> num2;

	sum = num1 + num2;

	cout << "Click any key to view answer\n";
	cin.get(ch);



	cout << "   " << num1 << endl;
	cout << "   " << num2 << endl;
	cout << "+______\n";
	cout << "   " << sum << endl;  	 
	return 0;
}