Cod sursa(job #20778)
Utilizator | Data | 22 februarie 2007 11:05:41 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream.h>
#include <conio.h>
void main()
{long a,b,sum;
ifstream fc("adunare.in");
fc>>a;
fc>>b;
sum=a+b;
ofstream fs("adunare.out");
fs<<sum;
getch ();
}