怎么输出表达式的值呢(2)

#include
using namespace std;
int main()
{
int x,a,b,c,d;
cout << "please enter x,a,b,c,d" << endl;
cin >> x>>a>>b>>c>>d;
cout << "x+(a+b)/(c-d)="<<x+(a+b)/(c-d)<<endl;
return 0;
}
为什么只输出x的值,不执行程序呢?


#include<iostream>
using namespace std;
int main()
{
int x,a,b,c,d;
cout << "please enter x,a,b,c,d" << endl;
cin >> x>>a>>b>>c>>d;
cout << "x+(a+b)/(c-d)="<<x+(a+b)/(c-d)<<endl;
return 0;
}

那个cin哪里改过了,还是不行

cin >> x>>a>>b>>c>>d;就好了
还有#include

int x>>a>>b>>c>>d;这是啥