Cod sursa(job #223451)

Utilizator ncbllrNegrii Costin ncbllr Data 28 noiembrie 2008 17:09:49
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.21 kb
#include<iostream.h>
#include<conio.h>
#include<fstream.h>
main()
{int a,b,s;
fstream f("adunare.in",ios::in);
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
getch();
return 0;

}