Replace pi shifting of string

https://ide.codingblocks.com/s/240476 check my code and mistake…i think the size is not increasing while shifting

you dont need to shift the charcters you can simply print 3.14 when you encounter pi and increment i by 2, else increment it by 1
Code

thanks for the support