Cod sursa(job #1138334)
Utilizator | Data | 9 martie 2014 21:27:17 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b,S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
S=0;
S=a+b;
g<<"Suma este "<<S;
f.close();
g.close();
return 0;
}