Offer

Even or Odd program in C Language



Continue And Download Movie



Example program for Even -Odd in C language

Output (1).

Output (2).


Copy from below 👇

#include<stdio.h>

#include<conio.h>

int main()

{

    int num;

    printf("enter any number : ");

    scanf("%d",&num);

    if(num%2==0)  //Condition test

    { 

        printf("this number is even");


    }

    else

    {

        printf("this number is odd");


    }

}


 Thanks for visiting,,,,,,,,,

PLEASE SUGGEST ANY TOPIC AND COMMENT .

Click on this link for more program  👇

                                                         
 


Download pdf file :

                                                             


New Amazing and Cool facts in hindi watch
This video and subscribe the channel ❤


Post a Comment

0 Comments