write a program to find out the number check +ve,-ve,or zero



 /* write a program to find out the number  check +ve , -ve, or zero */


#include<stdio.h>

#include<conio.h>

main()

{    int a ;

     printf("\n enter a number =");

     scanf("%d ",a);

     if(a==0)

        printf(" is zero");

     else if(a>0)

        printf("%d  number is +ve",a);

     else

        printf("%d  number is   -ve",a);

     getch();


}

/*

Out put 

enter a number = 5

number is +ve

*/


Flowchart of program


                                                            ðŸ‘ŒðŸ˜ŠðŸ˜€







No comments:

Post a Comment

This Blog helps you to learn basics to high level programming coding and practicals.
conceptual understanding

c program, Advance coding, c++ program, simple program, Advance language

online quiz Application project page MCA final year project

  Here we making a quiz application ppt presentation for college project so that our project idea will like to our professor and teacher  fi...