to convert uppercase to lower case
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
void main()
{
char ch,c;
printf("Enter the char\n");
scanf("%c",&c);
ch=tolower(c);
printf("\n%c",ch);
getch();
}
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
void main()
{
char ch,c;
printf("Enter the char\n");
scanf("%c",&c);
ch=tolower(c);
printf("\n%c",ch);
getch();
}
No comments:
Post a Comment