Code:
#include
int main()
{
char string[1000];
printf("Input a string to convert to lower case\n");
gets(string);
printf("Input string in lower case: %s\n",strlwr(string));
return 0;
}
Output:
Input a string to convert to lower case
SSSIIIMMM HHHAATTNS
AMXSMSX
Input string in lower case:
sssiiimmm hhhaattns
amxsmsx
More C programs