C Program Convert String Upper Case
/* C Program to convert given string into lower case */ #include <stdio.h> #include <string.h> int main() { char str[100]; printf("Please, input a string to convert to lower case\n"); gets(str); printf("The string in lower case is: %s\n", strlwr(str)); return 0; }
Output
Please, input a string to convert to UPPER CASE
Easy Code Book Perfect Programming Tutorials
The string in UPPER CASE is: EASY CODE BOOK PERFECT PROGRAMMING TUTORIALS