fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int n;
  5. scanf("%d", &n);
  6. if (n % 2==0) {
  7. printf("par");
  8. }
  9. if (n % 2!=0) {
  10. printf("impar");
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 5280KB
stdin
8
stdout
par