Positive or not

Description:

Check the given number is a positive number or not Test Case 1 Input (stdin) 478 Expected Output YES Test Case 2 Input (stdin) -85 Expected Output NO

Program :

#include<iostream>

 using namespace std;

 int main ()

{

int num;

 cin >> num;

 if (num >= 0)

cout << "YES ";

 else cout << "NO";

return 0;

}