#include <stdio.h> int N; int main() { printf("Entrer le nombre N :"); scanf("%d", &N); N / 2; if(N % 2 == 0){ printf("Le nombre %d est paire.", N); }else{ printf("Le nombre %d est impaire.", N); } return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter