I am getting a wrong output .
Please tell my mistake β¦
Tower Of Hanoi problem
Hello @G_rahil,
-
The output format is wrong:
cout<<"Move ring β<<n<<β from β<<scr<<β to "<<dest<<endl;
Itβs Moving not Move. -
Wrong order of parameter list of the function.
I have corrected your code:
Hope, this would help.
Give a like if you are satisfied.
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.