Cod sursa(job #1012673)
Utilizator | Fustos Robert fustosrobertt | Data | 19 octombrie 2013 15:11:01 |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | micuti1 | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int main ()
{
int a,b ;
ifstream f("adunare.in");
ofstream g("adunare.out");
a=123;
b=321;
g<<"a="<<a<<endl<<"b="<<b<<endl<<"a+b="<<a+b;
f.close ();
g.close();
return 0;
}