Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  sea
Language: C/C++
Code:
#include <stdio.h>

int main()
{
    int num = 0 ; 
    printf("please enter a number:\n") ;
    scanf("%i" , &num);
    if (num > 0){ 
        printf("******  number is positive ******");
    }else if (num < 0){
            printf("*** number is negative ***");
       } else 
            {printf("*** number equal zeros ***");
             }

    return 0;
}
          
Comments: