Cod sursa(job #1492443)
Utilizator | Data | 27 septembrie 2015 19:11:01 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a;
int b;
int suma;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
suma=a+b;
g<<"Suma este=" << suma << endl;
f.close();
g.close();
return 0;
}