0分求助!!!
查看原帖
0分求助!!!
929285
封禁用户楼主2023/1/28 21:08
#include<bits/stdc++.h>

using namespace std;

int main()
{
    int x;
    double m;  
    cin>>x;
    if(x<=150)
    {
    	m=x*0.4463;
	}
	else 
	{
	if(x>=151&&x<=400)
		m=x*0.4663;	
	else
		m=x*0.5663;
	}
	printf("%.1lf",&m);	
    return 0;
}
2023/1/28 21:08
加载中...