Code not working

code- https://ide.codingblocks.com/s/242491

while(ch!= β€˜X’ && ch !=β€˜x’); /// and use hoga

it is giving tle in every case

code-


code-https://ide.codingblocks.com/s/242491

Check out my code…