Cod sursa(job #2691817)
| Utilizator | Data | 30 decembrie 2020 07:55:46 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main() {
float a,b;
ifstream f("adunare.in");
ofstream o("adunare.out");
f >> a;
f >> b;
o << a + b<<endl;
f.close();
o.close();
return 0;
}