|
@@ -301,9 +301,9 @@ The gene dominance for the eyebrows is given by the following list, ordered from
|
301
|
301
|
|
302
|
302
|
The genes in the eyebrows follow these rules:
|
303
|
303
|
|
304
|
|
- a. If both parents have "angry" eyebrows, the baby will have "unibrow" eyebrows.
|
305
|
|
- b. If both parents have "unibrow" eyebrows, the baby will have "upset" eyebrows.
|
306
|
|
- c. In other cases, the baby will inherit the eyebrows with most dominance from the parent's eyebrows.
|
|
304
|
+a. If both parents have "angry" eyebrows, the baby will have "unibrow" eyebrows.
|
|
305
|
+b. If both parents have "unibrow" eyebrows, the baby will have "upset" eyebrows.
|
|
306
|
+c. In other cases, the baby will inherit the eyebrows with most dominance from the parent's eyebrows.
|
307
|
307
|
|
308
|
308
|
|
309
|
309
|
### Exercise 2 - Study the `main` function
|
|
@@ -339,13 +339,13 @@ The genes in the eyebrows follow these rules:
|
339
|
339
|
|
340
|
340
|
Study the header for the `birth` function. In this function, write the necessary code so baby Piolín has the characteristics dictated by the rules of inheritance exposed previously.
|
341
|
341
|
|
342
|
|
- ---
|
|
342
|
+---
|
343
|
343
|
|
344
|
|
- ![funcionBirth.png](images/funcionBirth.png)
|
|
344
|
+![funcionBirth.png](images/funcionBirth.png)
|
345
|
345
|
|
346
|
|
- **Figure 3.** `Birth` function
|
|
346
|
+**Figure 3.** `Birth` function
|
347
|
347
|
|
348
|
|
- ---
|
|
348
|
+---
|
349
|
349
|
|
350
|
350
|
---
|
351
|
351
|
|