#include <iostream>
      using namespace std;
      int main()
      {
          int num = -15;
          //Condition to check if the 0, positive or negative
          if(num == 0)
                  cout << "Zero"; else (num > 0) ? cout << "Positive": cout << "Negative";
          return 0;
      }
      
      Cpp language logo

      Shanuto

      0

      0

      avatar
      Yatharth Garg

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.