Cod sursa(job #383746)
Utilizator | Data | 17 ianuarie 2010 22:15:30 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include <iostream.h>
#include <conio.h>
#include <fstream.h>
void main()
{
int a,b;
fstream f("adunare.in",ios::in);
f>>a;
f>>b;
f.close();
//................................
fstream g("adunare.out",ios::out);
g<<(a+b);
g.close();
getch();
}