Change upper case alphabet to lower case alphabate

 

#include<stdio.h>

#include<conio.h>

void main()

{

            char c,x;

            clrscr ();


    printf("enter any upper case char :");

    scanf("%c",&c);


            x=c+32;


    printf("lower case : %c",x);


           getch();


}


Output : 


enter any upper case char :R


lower case : r


[Process completed (code 10) - press Enter]


Comments