josiftepe

Untitled

Dec 21st, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. #include <stdio.h> //standard input/output
  2. #include <stdlib.h> // standard library, malloc..
  3.  
  4. int main() {
  5.     char c;
  6.     scanf("%c", &c);
  7.     if(c >= 'a' && c <= 'z') {
  8.         printf("Bukvata e mala\n");
  9.     }
  10.     else if(c >= 'A' && c <= 'Z') {
  11.         printf("Bukvata e golema\n");
  12.     }
  13.     else if(c >= '0' && c <= '9') {
  14.         printf("Bukvata e cifra\n");
  15.     }
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment