Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int x;
- printf("Introduce un numero entero entre 10 y 20\n");
- scanf("%i",&x);
- if(x>=10 && x<=20)
- {
- printf("El numero introducido es este %i\n\n",x);
- }
- else
- {
- printf("has introducido un numero erroneo\n\n");
- }
- }
Add Comment
Please, Sign In to add comment