Cod sursa(job #219737)
Utilizator | Data | 8 noiembrie 2008 10:39:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <fstream.h>
int main()
{
int a , b;
ifstream fin ("adunare.in");
fin >> a;
fin >> b;
fin.close();
ofstream fout("adunare.out");
fout << a + b;
fout << '\n';
fout.close();
system("pause");
}