求助!!!!!!
查看原帖
求助!!!!!!
522406
gjm123456楼主2023/8/17 16:02
#include<bits/stdc++.h>
using namespace std;
int z,x,q;
double zh;
int main()
{
	scanf("%d%d%d",&z,&x,&q);
	if(z>=100 || x>=100 || q>=100)
	{
		zh=(int)(z*0.2+x*0.3+q*0.5);
		cout<<zh;
	};
	return 0;
}
2023/8/17 16:02
加载中...