//WAP TO CHECK ANY NO IS EVEN OR ODD.

 //WAP To Check Any No Is Even Or Odd.

#include<stdio.h>

 void main()

    {

        int no;

        printf("\n Enter any no"):

        scanf("%d" , &no);

        if(no%2==0)

            printf("\n no is even");

        else

             printf("\n no is odd");

        }

    



OR




#include<stdio.h>

  void main()

    {

      int no;

      printf("\n Enter any no");

      scanf("%d" , &no);

      if(no%2)

         printf("\n no is odd");

      else

         printf("\n no is even");

     }






                 -SHAHRUKH KHAN(CSE)

Comments

Popular posts from this blog

What Is Data Structure.Why Data Structure.And Types Of Data Structure?.

"Basic Introduction Of Programming Language:"

HTML(Hyper Text Markup Language)