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