有没有家人知道这个代码错在哪里了?我想输入两个数然后比较大小

#include
using namespace std;

int main()
{
int x, b;
cout << "请输入2个数字:" << endl;
cin >> x, b;
cout << "数字为:" << "," << x << b << endl;
if (x > b)
{
x = b;
cout << x << endl;
}
else
{
cout << b << endl;
}

system("pause");
return 0;

}

你这个运行哪里错了

cin >> x>> b;