1_ write a code that gets a string from the user and finds outits is all uppercase letters or all lowercase letters. In each casethe program should display a proper message
2_change the code of do it now problem 1 such that if the stringis all uppercase. The code converts it to all lowercase letters anddisplays the result also. If the string is all lowercase, the codeconverts it yo all uppercase letters and displays the result.
Answer