SHARE
TWEET

Untitled

a guest Aug 21st, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. void paroimpar(int a);
  4.  
  5. int main()
  6. {
  7.     int x;
  8.     printf("Ingrese un valor entero: ");
  9.     scanf("%d",&x);
  10.     paroimpar(x);
  11.     return 0;
  12. }
  13.  
  14. void paroimpar(int x)
  15. {
  16.  
  17.     if (x % 2 == 0)
  18.         printf("\nEs par");
  19.     else
  20.         printf("\nEs impar");
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top