Game of Thrones - 2

Description:

Sharma was asked to perform a complex operation. His friend Monica will give two numbers to his friend sharma. Now sharma wants to club those numbers and provide her one final number. Refere sample input and output Input 1: 12 12 Output: 0 Input 2: -12 12 Output:-24 Test Case 1 Input (stdin) 7 4 Expected Output 3 Test Case 2 Input (stdin) 14 18 Expected Output -4

Program :

#include <iostream>

 using namespace std;

 int main()

 {

 int x, y, subtract;

 cout << " ";

 cin >> x >> y; // the subtracted value of two numbers stored in the third variable subtract = x - y;

 // Prints subtracted value cout << subtract;

 return 0;

 }