if(topn== system out println("disk from from to "else dotowers(topn- fromtointer)/from-->inter system out println("disk topn from from to "to)dotowers(topn- interfromto)/inter-->to ///end class towersapp remember that disks are moved from to here' the output from the programdisk from to disk from to disk from to disk from to disk from to disk from to disk from to the arguments to dotowers(are the number of disks to be movedand the source (from)intermediate (inter)and destination (totowers to be used the number of disks decreases by each time the method calls itself the sourceintermediateand destination towers also change here is the output with additional notations that show when the method is entered and when it returnsits argumentsand whether disk is moved because it' the base case ( subtree consisting of only one diskor because it' the remaining bottom disk after subtree has been moved enter ( disks) =ai=bd= enter ( disks) =ai=cd= enter ( disk) =ai=bd= base casemove disk from to return ( diskmove bottom disk from to enter ( disk) =ci=ad= base casemove disk from to return ( diskreturn ( disksmove bottom disk from to enter ( disks) =bi=ad= enter ( disk) =bi=cd= base casemove disk from to return ( disk