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


It 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