#include <iostream>
#include <string>
using namespace std;
int main()
{
int x;
cout<<"Please enter the value of x;
cin >> x;
cout<<"The value of x is "<<x;
return 0;
}
i was running this simple program but i got error like this
D:\helloworld\main.cpp|10|error: no match for 'operator>>' (operand types are 'std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}' and 'int')|