Cod sursa(job #207776)

Utilizator harababurelPuscas Sergiu harababurel Data 12 septembrie 2008 23:18:57
Problema A+B Scor 100
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.25 kb
#include <iostream>
#include <fstream>
using namespace std;
int main() {
    float a;
    float b;
    ifstream f("adunare.in");
    ofstream g("adunare.out");
    f>>a;
    f>>b;
    g<<a+b;
    g.close();
    f.close();
    return 0;
}