//exam3.6
#include<iostream>
using namespace std;
int main()
{
int cup;
float a,b;
cout<<"cup=";
cin>>cup;
a=cup*3*0.88;
b=(cup-cup/8)*3;
if(a<b) cout<<"dayangshangcheng"<<endl;
else cout<<"baihuishangsha"<<endl;
return 0;
}
最后
以上就是幽默大门最近收集整理的关于c++if语句和关系表达式的全部内容,更多相关c++if语句和关系表达式内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复