Cod sursa(job #15051)
| Utilizator | Data | 10 februarie 2007 16:43:41 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
main()
{float a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out") ;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}