Cod sursa(job #221732)
| Utilizator | Data | 17 noiembrie 2008 20:30:33 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.29 kb |
//A+B
#include<fstream>
using namespace std;
int a, b;
int main()
{
ifstream fin("adunare.in");
fin >> a >> b;
fin.close();
ofstream fout("adunare.out");
fout <<"suma celor doua numere este:" << a+b;
fout.close();
return 0;
system("pause");
}
