Cod sursa(job #221159)
| Utilizator | Data | 14 noiembrie 2008 20:46:40 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
void main ()
{long double a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
g<<"suma numerelor este "<<a+b;
}