#include <iostream>
      using namespace std;
      int main()
      {
          int num = -12;
          //Condition to check if the number is negative or positive
          if (num >= 0)
          {
                  if (num == 0)
                          cout << "Zero";
                  else
                          cout << "The number is positive";
          }
          else
                   cout << "The number is negative";
          return 0;
      }
      
      Cpp language logo

      Manage

      0

      0

      avatar
      Yatharth Garg

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.