In the question from hackerblocks, Piyush and magical park in mathematics section, I am not getting the correct output.
the link of my code…
Not getting correct output
hey @sanjit_15 there are couple of mistakes in your code
- arr needs to be character array not integer array
- you need to print s only when answer is yes.
here is link of your code after rectification
https://ide.codingblocks.com/s/193613
1 Like
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.