code-https://ide.codingblocks.com/s/314385
failing 1st testcase
@S18LPC-OL0078 why have you hardcoded the value here? This should be compared with “x” that the user will provide

after changing that it is still failing test case 1
thanks it worked…there is 1 more daught…how to approach next pemutation question.