Saturday, 16 June 2018

Program to convert a upper case character into lower case character using function in C

/* upper to lower */
# include <stdio.h>
void upper-to-lower (char) ;
void main ()
char ch ;
printf ("\n Enter a upper case character:") ;
scanf ("%d", & ch) ;
upper-to-lower (ch) ;
getch () ;
void upper-to-lower (char ch)
ch = ch+32 ;
printf ("%c", ch) ;

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 ...