// example1.cpp: A program to compute the squares of both
//               the sum and difference of two given integers.
#include <iostream>
using namespace std;

int main() {
cout << "Enter two integers: ";  // Displays input request
int a, b;
cin >> a >> b;			 // Reads a and b;
int sum = a + b, diff = a - b,
u = sum * sum, v = diff * diff;
cout << "Square of sum: " << u << endl;
cout << "Square of difference:" << v << endl;
return 0;
}
