Cod sursa(job #498843)
Utilizator | Data | 7 noiembrie 2010 13:45:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include<iostream>
#include<fstream>
using namespace std;
int main()
{
int i,a,b,c ;
ifstream f("4.out");
ofstream g("4.out");
cout<<"a=";cin>>a;
cout<<"b=";cin>>b;
c=a+b;
cout<<"a+b="<<c;
system("pause");
f.close();
g.close();
return 0;
}