JAVA - Programming
How to run the program?
Step1: open Start(開始)
Step2: open Run(執行)
Step3: input "cmd" into the textbar and then press "Enter"
Step4: Compile both files (
e.g.javac Compiler*.java
) and run file (e.g .
java CompilerTest
).
9月 29, 2007
Even or Odd
I
t is a very simple program for detect what kind of numbers you type. Is the number a odd or not?
The sample of the program:
You can download the file here:
EvenOROddTest:
EvenOROddTest
Or you may dowonload the source code as a zip file:
EvenOROddTest
較新的文章
首頁
訂閱:
文章 (Atom)
網誌封存
▼
2007
(4)
►
12/02 - 12/09
(1)
►
11/18 - 11/25
(1)
►
10/14 - 10/21
(1)
▼
09/23 - 09/30
(1)
Even or Odd
Easy to Program
Nicholas
Hong Kong
查看我的完整個人檔案