Cod sursa(job #694570)
Utilizator | Data | 27 februarie 2012 21:51:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
int main()
{
float a,b;
ifstream infile;
infile.open("adunare.in");
infile>>a>>b;
ofstream outfile;
outfile.open ("adunare.out");
outfile<<(a+b);
outfile.close();
}