|
@@ -6,7 +6,8 @@
|
6
|
6
|
|
7
|
7
|
|
8
|
8
|
|
9
|
|
-One of the advantages of using computer programs is that we can easily implement repetitive tasks. Structures such as the `for`, `while`, and `do-while` allow us to repeat a block of instructions as many times as needed. These structures are also known as *repetition structures*. In today’s laboratory experience, you will practice the use of loops to implement a game of sticks in C++.
|
|
9
|
+One of the advantages of using computer programs is that we can easily implement repetitive tasks. Structures such as the `for`, `while`, and `do-while` allow us to repeat a block of instructions as many times as needed. These structures are also known as *repetition structures*. In today’s laboratory experience, you will practice the use of loops to implement a game of sticks in C++. This laboratory experience is an adaptation of the exercise found in: http://nifty.stanford.edu/2014/laaksonen-vihavainen-game-of-sticks/handout.html.
|
|
10
|
+
|
10
|
11
|
|
11
|
12
|
## Objectives:
|
12
|
13
|
|
|
@@ -15,7 +16,6 @@ One of the advantages of using computer programs is that we can easily implement
|
15
|
16
|
3. Implement a complete program.
|
16
|
17
|
4. Practice the use of repetition structures.
|
17
|
18
|
|
18
|
|
-This laboratory experience is an adaptation of the exercise found in: http://nifty.stanford.edu/2014/laaksonen-vihavainen-game-of-sticks/handout.html.
|
19
|
19
|
|
20
|
20
|
## Pre-Lab:
|
21
|
21
|
|