https://ide.codingblocks.com/s/240476 check my code and mistake…i think the size is not increasing while shifting
Replace pi shifting of string
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