Answer to Question #273122 in UNIX/Linux Programming for Kumaraguru

Question #273122

Write a C program to convert uppercase string to lowercase case string using strlwr() function.

1
Expert's answer
2021-12-01T06:40:28-0500

#include <stdio.h>  

#include <conio.h>  

int main ()  

{  

   char upr[50]; // declare character array  

          printf (" Enter the upper case string: ");  

    gets (upr); // use gets() function to take string  

    

          // use strlwr() function to change upper case into lower string   

    printf (" \n The lowercase string is: %s", strlwr(upr));  

         

    return 0;  



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS