Tower of hanoi (may be syntax error)

doubt is commented in the code

Hi @vikashkmr519,
check the comments in the given code …And you need to display the number of steps too.