Cod sursa(job #2635)
Utilizator | Data | 18 decembrie 2006 15:58:52 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{long double a,b,s=0;
ifstream fin("adunare.in");
fin>>a>>b;
fin.close();
s=a+b;
ofstream fout("adunare.out");
fout<<s;
fout.close();
return 0;}