the testcases are showing wrong answer .pls tell the correct code.
Find upper and lower bound
hey @yutikakhanna,your code and logic are fine but in output you have to print lower bound first and then upper bound,your code is printing upper-bound first, interchange them and you are good to go.
still faces any doubt inform me else kindly mark this doubt as resolved.
pls tell in the form of a code.
@yutikakhanna,refer to this for help i have commented where i have changed(https://ide.codingblocks.com/s/177517)
@yutikakhanna,if you still have any doubts let me know else please mark this doubt as resolved ,thankyou.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.