Cod sursa(job #827169)

Utilizator gerd13David Gergely gerd13 Data 1 decembrie 2012 19:04:36
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.26 kb
#include<iostream>
using namespace std;
int main()
{
	int a, b, c=0;
	cout<<"a=";
	cin>>a;
	cout.flush();
	cout<<"\n";
	cout<<"b=";
	cin>>b;
	cout.flush();
	cout<<"\n";
	c=0;
	c=a+b;
	if(c<=2000000000)
	{cout<<"A+B="<<c;
	}
	cout<<"\n";
	return 0;
}