for example 1
we have 3 towers (A,B,C)
input
user enter 2
output
A-%26gt;B
A-%26gt;C
B-%26gt;C
example 2
we have 3 towers (A,B,C)
input
user enter 3
output
A-%26gt;C
A-%26gt;B
C-%26gt;B
A-%26gt;C
B-%26gt;A
B-%26gt;C
A-%26gt;C
I need sourc code of a program in c++(Towers of hanoi)?
That is a tough homework.
Reply:do your own homework
Reply:listen to the teacher
Reply:you don't even know how to write a question properly. couldn't make out anything from ur question
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment