求助
查看原帖
求助
1020916
mcmahaoran楼主2023/12/21 20:12
#include<iostream>
using namespace std;
int main() 
{
	double x,a;
    cin>>x;
    if(x<0)
	{
    cout<<"negative";	
	}
	else if(x=0)
	{
    	cout<<"zero";
	}
	 else if(x>0)
	{
		cout<<"positive";
  	}
    return 0;
}
2023/12/21 20:12
加载中...