RosettaCodeData/Task/A+B/C++/a+b-2.cpp

14 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;
}