Project 1: Conditionals and Loops
Started: Thursday 2/10; Due: Friday 2/18, by the beginning of class
Several of the projects (and this one in particular) will be taken from the assignments on the book's web site.
In those cases, I will typically make some comments on differences I might have with that assignment, as well as clarifications about what I am expecting from you. Mainly,
however, I will ask you to carefully read through the assignment and do on that. In this case, the assignment is
Conditionals and Loops.
You should work on this project individually.
You should first create a Java Project named "Project1". The assignment asks you to write five programs named
RandomWalkers.java. You should create java classes with exactly those names, being sure
to create stubs for their
main(String args) methods.
Be sure to take care that your programs take input and give output exactly as described in the lab. In particular, you should get exactly the same output as given in their runs for the first three programs. Your output for the last two programs should have the same form as theirs, though the values should be different due to randomness, of course.
We will use this gradesheet when grading your lab.
Use the procedure described in our instructions on submitting code document.
In addition to the java program files, we want you to fill out the following
readme.txt file, which is a slight variation of the
one the authors use at Princeton.