Cod sursa(job #554241)
Utilizator | Data | 14 martie 2011 18:14:05 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include<iostream>
#include<fstream.h>
using namespace std;
int main()
{
int suma=0,a,b;
ifstream f(adunare.in);
ofstream g(adunare.out);
f>>a>>b;
suma=a+b;
cout<<"suma numerelor este egala cu "<<suma<<endl;
system("pause");
return 0;
}