Problem F: 判断数正负
[Creator : ]
Description
if(成立条件表达式){
当条件成立时需要执行的语句;
}
if(n==0)
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if ( ) cout << "positive";
if ( ) cout << "zero";
if ( ) cout << "negative";
return 0;
}
Sample Input Copy
1
Sample Output Copy
positive