Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- char letra;
- int main(int argc, char const *argv[])
- {
- printf("Programa de mapeo letras->numeros\n\r");
- printf("Introduce un caracter\n\r");
- scanf("%c",&letra);
- if (letra>=97 && letra<=122)
- {
- printf("La letra es minuscula\n\r");
- }
- else if (letra>=65 && letra<=90)
- {
- printf("La letra es mayuscula\n\r");
- }
- else
- {
- printf("Caso no contemplado\n\r");
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement