View Code of Problem 136

#include <iostream>

using namespace std;

int main()
{
	int a, b;
	cin >> a;
	cin >> b;
	cout << a + b << endl;
	return 0;
}
/*
F:\temp\18014913.131832\Main.c:2:20: error: iostream: No such file or directory
F:\temp\18014913.131832\Main.c:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'
F:\temp\18014913.131832\Main.c: In function 'main':
F:\temp\18014913.131832\Main.c:9: error: 'cin' undeclared (first use in this function)
F:\temp\18014913.131832\Main.c:9: error: (Each undeclared identifier is reported only once
F:\temp\18014913.131832\Main.c:9: error: for each function it appears in.)
F:\temp\18014913.131832\Main.c:11: error: 'cout' undeclared (first use in this function)
F:\temp\18014913.131832\Main.c:11: error: 'endl' undeclared (first use in this function)
*/

Double click to view unformatted code.


Back to problem 136