Write a program to read a character in upper case and print it in lower case.
Answers
Answered by
2
Answer:
/* C Program - Convert Uppercase Character to Lowercase */
#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr();
char ch;
printf("Enter a character in uppercase : ");
scanf("%c",&ch);
ch=ch+32;
printf("character in lowercase = %c",ch);
getch();
}
hope it helps!!
Similar questions