rendered paste body// A3.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream.h>
int main(int argc, char* argv[])
{
int In1, In2, sum, product, difference; // Defines Variables
float quotient;
cout << "Enter an integer: ";
cin >> In1;
cout << "Enter another integer: ";
cin >> In2;
sum = In1 + In2; // Calculations
product = In1 * In2;
quotient = (float) In1 / In2;
difference = In1 - In2;
cout << "The sum of the integers chosen is " << sum << endl; // Displays results
cout << "The product of the integers chosen is " << product << endl;
cout << "The quotient of the integers chosen is " << quotient << endl;
cout << "The difference of the integers chosen is " << difference << endl;
return 0;
}