Cod sursa(job #699492)
Utilizator | Data | 29 februarie 2012 19:40:12 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | c | Status | done |
Runda | Lista lui wefgef | Marime | 0.21 kb |
#include<fstream.h>
int main()
{
long a,b,s;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
fin>>a;
fin>>b;
s=a+b;
fout<<"suma este "<<s;
fin.close();
fout.close();
return 0;
}