Josif_tepe

Untitled

Aug 22nd, 2025
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <ctype.h>
  4. #include <string.h>
  5.  
  6. int main(void) {
  7.    
  8.     char a[2000];
  9.     scanf("%s", a);
  10.    
  11.    
  12.     for(int i = 0; i < strlen(a); i++) {
  13.         if(isupper(a[i])) {
  14.             printf("%c - GOLEMA BUKVA\n", a[i]);
  15.         }
  16.        
  17.         if(islower(a[i])) {
  18.             printf("%c - mala bukva\n", a[i]);
  19.         }
  20.     }
  21.  
  22.     return 0;
  23. }
  24.  
Advertisement
Add Comment
Please, Sign In to add comment