|
遞迴與河內塔程式碼 - 04/15/2014 05:29:32 pm +0800 - en US.ISO8859-1 - OpenWebMail
河內塔程式碼 : public class fac { static int count=0; public static void main(String[] args ) { towerofHanoi (20,'A','B','C'); System.out.println ("The tatal number of steps is" +count); } static void towerofHanoi ( int dishes,char from,char by,char to ...
stmail.tajen.edu.tw |
|