Advertisement
Tahamina_Taha

Lower to uppercase letter using library function

Aug 17th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. // Lowercase to uppercase letter using library function
  4. {
  5.  
  6.     char lower,upper;
  7.     printf("Enter any Lowercase letter : \n");
  8.     scanf("%c",&lower);
  9.    
  10.     upper=toupper(lower);
  11.     printf("Uppercase letter : %c\n",upper);
  12.  
  13.      return 0;
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement