Cod sursa(job #304344)
| Utilizator | Data | 12 aprilie 2009 10:16:43 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
#include <conio.h>
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();
}