Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- char a;
- int b;
- printf(" \n enter the alphabet from the keyboard " );
- scanf("%c" ,&a);
- b=a;
- if(b >= 97 && b <=122)
- {
- b=b-32;
- }
- printf("%c", b);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement