Guest User

Untitled

a guest
Apr 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int x;
  5.     printf("Introduce un numero entero entre 10 y 20\n");
  6.     scanf("%i",&x);
  7.     if(x>=10 && x<=20)
  8.     {
  9.         printf("El numero introducido es este %i\n\n",x);
  10.         }
  11.     else
  12.     {
  13.         printf("has introducido un numero erroneo\n\n");
  14.     }
  15. }
Add Comment
Please, Sign In to add comment