C Program to accept a character in the uppercase and print in lower case
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# include <stdio.h> # include <conio.h> main( ) { char ch,c1; clrscr( ); printf(“enter a char in Uppercase”); ch=getchar(); c1=ch+32; printf(“the given char in Lowercase is”); putchar(c1); getch(); } |