C programming If else statements use

 //If else statements use


#include <stdio.h>

#include <stdlib.h>


int main()

{

    int a;

    printf("enter the value of a\n");

    scanf("%d",&a);

    if(a%2==0)

        {

    printf("Hello world!\n");

        }

    return 0;

}


Comments

Popular posts from this blog

C Programme to find Area Of Rectangle

C programme to reverse the number