|
@@ -302,7 +302,9 @@ The gene dominance for the eyebrows is given by the following list, ordered from
|
302
|
302
|
The genes in the eyebrows follow these rules:
|
303
|
303
|
|
304
|
304
|
a. If both parents have "angry" eyebrows, the baby will have "unibrow" eyebrows.
|
|
305
|
+
|
305
|
306
|
b. If both parents have "unibrow" eyebrows, the baby will have "upset" eyebrows.
|
|
307
|
+
|
306
|
308
|
c. In other cases, the baby will inherit the eyebrows with most dominance from the parent's eyebrows.
|
307
|
309
|
|
308
|
310
|
|
|
@@ -323,8 +325,8 @@ c. In other cases, the baby will inherit the eyebrows with most dominance from t
|
323
|
325
|
|
324
|
326
|
4. Open the file `main.cpp` (you will not make changes in any other file in this project). Study the `main` function. You will NOT make changes to the `main` function. Note that the `main` function essentially does two things:
|
325
|
327
|
|
326
|
|
- a. Creates three birds and adds two of them to the window.
|
327
|
|
- b. Creates a timer that waits a second and after invokes the `birth` function passing by reference to the window and the three birds.
|
|
328
|
+ a. Creates three birds and adds two of them to the window.
|
|
329
|
+ b. Creates a timer that waits a second and after invokes the `birth` function passing by reference to the window and the three birds.
|
328
|
330
|
|
329
|
331
|
---
|
330
|
332
|
|