Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <ctype.h>
  3.  
  4. char majuscule(char a)
  5. {
  6.    
  7.     if (a >= 'A' && a <= 'Z' || a >= 'a' && a <= 'z')
  8.     {
  9.   ​​‍​‍‍      if (a >= 'a' && a <= 'z')
  10.         {
  11.             a=a-32;
  12.             return(a);
  13.         }
  14.        
  15.     }
  16.    
  17.     return(a);
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement