Advertisement
Guest User

Untitled

a guest
Jun 18th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.     int main (){
  4.         int a;
  5.         printf("escribe un numero");
  6.         scanf("%d", &a);
  7.         if((a%2)==0){
  8.             printf("es parell\n");       
  9.           }else{
  10.             printf ("es senar\n");
  11.             }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement