RosettaCodeData/Task/A+B/C++/a+b-2.cpp
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

13 lines
235 B
C++

// Input file: input.txt
// Output file: output.txt
#include <fstream>
using namespace std;
int main()
{
ifstream in("input.txt");
ofstream out("output.txt");
int a, b;
in >> a >> b;
out << a + b << endl;
return 0;
}