提交时间:2024-01-23 16:22:37

运行 ID: 125062

#include<iostream> using namespace std; int main() { double a; cin>>a; if(a>0){ cout<<"yes"<<endl; cout<<a<<">"<<"0"; } if(a<0){ cout<<"no"<<endl; cout<<a<<"<"<<"0"; } if(a=0){ cout<<"yes"<<endl; cout<<a<<"="<<"0"; } return 0; }