is this code correct?
Character type question
your code is correct but in problem it wants you to ouput ‘L’ if ch is lowercase do not print “loewercase”,similarly print U and I for uppercase and invalid.
but how to implement the same.pls telll
hey @yutikakhanna what you have implemented is correct ,at the place where you have written cout<<“uppercase”; replace it as cout<<“U” similarly at line 12 and 15 write cout<<“L”; and cout<<“I”; respectively and you are good to go.