Code Snippets C

#include
int main(void)
{
int j;
printf("Enter a number: ");
scanf("%d", &j);
if( ( j % 2 ) == 0)
printf("Even");
if( ( j % 2 ) ==1)
printf("Odd");
return 0;
}