#include void hanoi(int n, char frompeg, char topeg, char auxpeg) { if (n == 1) cout << "move disk 1 from peg " << frompeg << " to peg "<< topeg <