Guest User

Untitled

a guest
Apr 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 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.     do
  8.     {
  9.         printf("\nIntroduce un numero dentro de rango");
  10.         scanf("%i", &x);
  11.         }
  12.     while(x>10 && x<20);
  13.     printf("El numero introducido es:\n%i\n\n"),x);
  14. }
Add Comment
Please, Sign In to add comment