Cod sursa(job #974348)
Utilizator | Data | 16 iulie 2013 21:27:30 | |
---|---|---|---|
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;
fstream f("c:\\adunare.txt", ios::in);
f>>a;
f>>b;
fstream g("C:\\adunare.out.txt", ios::out);
g<<a+b<<" ";
f.close();
g.close();
system("PAUSE");}