Cod sursa(job #1358341)
Utilizator | Data | 24 februarie 2015 15:59:33 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
using namespace std;
int main ()
{int a , b;
ifstream f("adunare.txt");
ofstream g("adunare.txt");
f>>a>>b;
g<<a+b;
f.close ();
g.close ();
}