Replace all pi recursion problem

My code : https://ide.codingblocks.com/s/42730
Please tell me what is the wrong in the code?

You have missed the case when the character is β€˜p’ but the next character is not β€˜i’.

I have updated the code. https://ide.codingblocks.com/s/42730
But it is still not working.


It’s working fine .

1 Like