Winning CB scholarship-divide and conquer

not able to find where am i going wrong…please review it

submission: https://ide.codingblocks.com/s/211232

@kumar_sunny
you need to print the answer outside the while loop!