Cod sursa(job #265765)
| Utilizator | Data | 24 februarie 2009 13:54:42 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
main()
{
long double a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
}