You are on page 1of 1

// ConsoleApplication11.cpp : Defines the entry point for the console application.

//

#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;

int main()
{
int a;
int b;
int X;
cout << "please enter the first value";
cin >> a;
cout << "please enter the second value";
cin >> b;
X=a+b;
cout << X;

system("pause");

return 0;
}

You might also like