Cod sursa(job #219714)
Utilizator | Data | 8 noiembrie 2008 10:17:03 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 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");
}