s9526118's JAVA blog
網站
JAVA's class
追蹤者
網誌存檔
▼
2009
(43)
▼
六月
(5)
Lab Factorial
Lab Recursive method
Lab Hanoi Tower
Homework 6-1-2009 Modular Sorting
Lab Array
►
五月
(10)
Lab: Static Method II
Lab Magic Parking Tower
Lab Static Method
Lab Math methods
Lab Finding the max of three numbers
"Lab Math methods"
Lab Finding the max of three numbers
Lab Java Constructor
Lab Method Overloading
Homework 4-27-2009
►
四月
(6)
Lab ADT
"Class definition 3"
"Homework 4-13-2009 Fraction Multiplication"
lab Fraction equality test
lab Fraction Addition
Homework 3-30-2009: counter
►
三月
(17)
lab class definition 2
lab class definition
Homework: 3/23/2009
Lab Cosine
Lab Fibonacci
Homework 3-16-2009
Lab Finding the max of a list of numbers
"Lab Finding the max of three numbers"
"Lab Tax Calculation"
Homework 3-9-2009
Lab Keyboard precessing
Lab Keyboard input
Lab Scanner
Homework 3-2-2009
Lab String Processing
Lab Java casting
Lab Java operators
►
二月
(5)
Homework 2-23-2009
Lab 2: Java for Scientific Computation
Lab: Get familiar with JBuilder
HOMEWORK1
hello JAVA
關於我自己
短毛敬
檢視我的完整簡介
2009年6月15日星期一
Lab Hanoi Tower
The pseudocode for Hanoi Tower is as follows:
solve(N, Src, Aux, Dst)
if N is 0 return
solve(N-1, Src, Dst, Aux)
Move N from Src to Dst
solve(N-1, Aux, Src, Dst)
Write the Java program based on the pseudocode in the above.
0 意見:
張貼意見
較新的文章
較舊的文章
首頁
訂閱:
張貼意見 (Atom)
0 意見:
張貼意見