Cod sursa(job #97127)
Utilizator | Data | 5 noiembrie 2007 14:46:44 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
int main()
{int a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<"suma este "<<a+b;
g.close();
return 1;
}