test case failing
Replace all Pi Recursion
Hi
Could you explain me why is there space before you are printing your answer?
*************************//Why this extra line before printing output?
x3.14x
xab3.14xx3.15x
x3.143.143.3.14xx
I am not able to figure out .
i have put endl so that i can input strings in different line
You cin.ignore() just above your for loop and run loop from 0<i<n
Extra line will go.
Also for
xpipippixx
Your output is :
x3.143.143.3.14xx
Expected x3.143.14p3.14xx
ohhh Okay I got it .
Thanks !!