Saturday, 26 May 2018

Program to enter a upper case character and convert into lower case in c

/* program to convert a upper case character into lower case */
# include <stdio.h>
void main ()
{
char ch ;
clrscr () ;
printf ("/n enter a upper case character:") ;
scanf ("%c", & ch) ;
ch =ch+32 ;
printf ("%c", ch) ;
getch () ;

No comments:

Post a Comment

Featured post

Program to find maximum of three number using user define function in C++

A function can be define by the user as per the requirement of the user or programmer . To implement a user define function , a programmer ...