Page

Saturday 30 May 2020

program to check even or odd//tech to lead//c project mania//luv yadav

in this program we will show you how to check the number is even or odd..........


#include<conio.h>
#include<stdio.h>
void main()
{
  int i;
  clrscr();
  printf("\nEnter any number:-");
  scanf("%d",&i);
  if(i%2==0)
  {
   printf("The number %d is even");
  }
  else
  {
   printf("The number %d is odd");
  }
  getch();
}

output of the program click on link given below
   
            https://youtu.be/2uIUJs-ic3M

No comments:

Post a Comment