Lower upper case problem

[https://ide.codingblocks.com/s/270089]

One test case is failing,what’s the error?Someone kindly help out.

What’s the problem with the code, kinfly tell someone.