Cod sursa(job #304351)
Utilizator | Data | 12 aprilie 2009 10:38:20 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
#include <conio.h>
int main()
{
clrscr();
fstream f("adunare.in",ios::in),g("adunare.out",ios::out);
int a,b,s=0;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}