Cod sursa(job #1492360)
Utilizator | Data | 27 septembrie 2015 16:55:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b;
float suma;
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
f>>a;
f>>b;
suma=a+b;
g<<suma;
f.close();
g.close();
return 0;
}