Write a program that takes a string of only lowercase

115 views 9:24 am 0 Comments July 26, 2023

Write a program that takes a string of only lowercase and
uppercase latin alphabets. Your program should give as output
the inputted string converting uppercase to lowercase letters.
Example
Case 1:
For the input provided as follows:
abcdEfGhI
Output of the program will be:
abcdefghi
Description:
The uppercase letters are E and G. Converting them to
lowercase, we get e and g.
For the input provided as follows:
ProGramMinglsGrEaT
Output of the program will be:
programmingisgreat
Description:
The uppercase letters are G, M, I, G, R and T. Converting them to
lowercase, we get g, m, i, g, r and t
The uppercase letters are E and G . conventing them to lowercase,we get e and g
Case 2:
For the input provided as follows:
ProGramMingisGrEaT
Output of the program will be:
programmingisgreat

Tags: , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *