/** * Author: Joanne Carter * Date: 9th November 2004 * Module: G6DICP Introduction to Computer Programming * Title: ICP Coursework 1 * SCSiT Username: jxc04m * */ ------------------------------------------------- | 55555 5 55555 7777 7 7 77777 | | 5 5 5 7 7 7 7 7 | | 5555 5 5 7777 7 7 7 | | 5 5 5 7 7 7 7 7 | | 5 5 55555 7777 777 77777 | | S I M U L A T O R | ------------------------------------------------- The Read Me File ================ How to run this program: ------------------------ To run this program, you will need to have the JDK (Java Development Kit) installed on your computer. You then need to access the folder in which the program is intalled through the Commmand Prompt; this will look something like this: E:\cw1\taskD> You then need to type the following command to run the final version of the program: E:\cw1\taskD>java cw1d To recompile each class file, you would need to use the following command: E:\cw1\taskD>javac cw1d.java List of files included: ----------------------- cw1\readme.txt cw1\taskA\cw1a.java cw1\taskA\cw1a.class cw1\taskB\cw1b.java cw1\taskB\cw1b.class cw1\taskC\cw1c.java cw1\taskC\cw1c.class cw1\taskD\cw1d.java cw1\taskD\cw1d.class cw1\taskD\FizBuz.class Limitations: ------------ This program should run on any platform as Java is a platform independant programming language. It has been tested on the Windows XP operating system, and Unix. It should also work with any recent version of the JDK (since 1.4.2), including the most recent (1.5.0). Output: ------- The final program's output should resemble this: |-----------------------------------------------------------------------| | G6DICP Coursework 1 - Fizbuz Simulator | | by Joanne Carter (jxc04m) | |-----------------------------------------------------------------------| | 1 2 3 4 Fiz 6 Buz 8 9 Fiz | | 11 12 13 Buz Fiz 16 Buz 18 19 Fiz | | Buz 22 23 24 Fiz 26 Buz Buz 29 Fiz | | 31 32 33 34 Fizbuz 36 Buz 38 39 Fiz | | 41 Buz 43 44 Fiz 46 Buz 48 Buz Fiz | | Fiz Fiz Fiz Fiz Fiz Fizbuz Fizbuz Fiz Fiz Fiz | | 61 62 Buz 64 Fiz 66 Buz 68 69 Fizbuz | | Buz Buz Buz Buz Fizbuz Buz Buz Buz Buz Fiz | | 81 82 83 Buz Fiz 86 Buz 88 89 Fiz | | Buz 92 93 94 Fiz 96 Buz Buz 99 Fiz | | ----------------------------------------------------------------------|