|
@@ -1,7 +1,17 @@
|
|
1
|
+The objective of this lab is to give you an opportunity to think through IF statements
|
|
2
|
+and LOOPS (WHILE, DO WHILE, and FOR).
|
1
|
3
|
|
2
|
|
-Work through WriteIFs.java, follow the directions for each method.
|
3
|
|
-Run All Tests on the class until you pass them all.
|
|
4
|
+You will need to read the TEST classes first, to get a feel for what you have to write
|
|
5
|
+for the CODE classes.
|
4
|
6
|
|
5
|
|
-Work through WriteLoops.java, follow the directions for each method.
|
|
7
|
+Work through code class WriteIFs.java, follow the directions for each method.
|
6
|
8
|
Run All Tests on the class until you pass them all.
|
7
|
9
|
|
|
10
|
+Work through code class WriteLoops.java, follow the directions for each method.
|
|
11
|
+Run All Tests on the class until you pass them all. For each of the loop methods,
|
|
12
|
+you need to put the code about w = w + 1; inside of the loops. It lets the test know how
|
|
13
|
+many iterations of the loop your code did. This data is used to make sure you passed the tests.
|
|
14
|
+
|
|
15
|
+You may not change ANY existing test methods.
|
|
16
|
+
|
|
17
|
+Pass all the tests with your code.
|