Tower of hanoi problem

i get the logic but how to implement this cant understand

The implementation is already covered in the lecture videos. Please refer that.

https://ide.codingblocks.com/s/197752 code is not running please help

Code was not running because of some special characters in line 12.

bhaiya none of the test case is passing i have removed c from the last line then also

It is given : shift all rings from peg A to peg B using peg C
So do not use integer. Also in the question int is not given to print the value of count.
Check this:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.