Online Judge
Toggle navigation
C++题库系统 OJ
首页
问题列表
状态
排行榜
登录
首页
问题
07判断正负数
D.A
lbc
•
18天前
#include <iostream>
using namespace std;
int main(){
int a;
cin>>a;
if(a>0){
cout<<"YES"<<endl;
} else {
cout<<"NO"<< endl; }
return 0;
}
评论:
回复