Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(){
- char ch;
- printf("Enter any character in upper case: ");
- scanf("%c", &ch);
- if((ch<65)||(ch>90)){
- printf("Please enter valid upper case alphabet only!");
- }
- else{
- printf("%c in lower case is: %c", ch, ch+32);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement