#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int a;

int main() {
    printf("Entrez le nombre. \n");
    scanf("%d",&a);

if (a%2==0) {
    printf("Le nombre est pair. \n");} 

else {
printf("Le nombre est impair. \n");}

return 0; 
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: