Please enable JavaScript to use CodeHS

Coding in Science

Lesson 2.4 Determining Allele Order

Description

Students will use if/else statements to alter their printGenotype function so the dominant allele (capital letter) is always printed first if there is one.


Objective

Students will be able to use if/else statements in order to make sure that the dominant allele in any resulting genotype is printed first if one exists.