Cod sursa(job #142978)
| Utilizator | Data | 25 februarie 2008 18:40:48 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream.h>
#include<fstream.h>
#include<conio.h>
int main(void)
{ clrscr();
long int a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}