Cod sursa(job #140234)
Utilizator | Data | 21 februarie 2008 16:09:49 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
int main()
{
double long a,b,s;
ifstream fin("adunare.in");
fin>>a>>b;
ofstream fout("adunare.out");
s=a+b;
fout<<s<<endl;
fin.close();
fout.close();
return 0;
}