I am so confused what is causing this error code, can anyone point out what is wrong?
#include <iostream>
main()
{
int x;
std::cin >> x;
std::cout << "Answer is " << x + x << '\n';
return 0;
}
I am so confused what is causing this error code, can anyone point out what is wrong?
#include <iostream>
main()
{
int x;
std::cin >> x;
std::cout << "Answer is " << x + x << '\n';
return 0;
}