Program to check whether the number is prime or not in java
#include <stdio.h>void main(){int value, rem;printf("Enter an int ");scanf("%d", &value);rem = value % 2;if (rem == 0)printf("%d is an even int
", value);elseprintf("%d is an odd int
", value);}