i am sending the answer , the question is written in answer at the top, please explain the part of code which i mentioned in my answer i want to know why we add n and the use %n in my solution,
its a humble request to you, solve this question on pen paper and explain how it is running dry run , each and every step of this code kindly explain and send me pick of the dry run of this program, and explain why we add n and then modulo by n ?? okkkkkk please reply as soon as possible here is the link https://ide.codingblocks.com/s/330691