Question: Assume that you work for a loggerhead conservation program that conducts in - water surveys. One objective of the survey is to understand the size

Assume that you work for a loggerhead conservation program that conducts in-water surveys. One objective of the survey is to understand the size class distribution of loggerheads in the area. To this end, you would like to create a program that which classifies the size class of each observed loggerhead by straight carapace length (SCL), as following:
Hatchling: SCL <10 cm
Juveniles: 10 SCL <80 cm
Subadult: 80 SCL <87
Adult: 87 SCL
Your program should:
prompt the user to enter the SCL of a loggerhead in centimeters,
use a decision structure to classify the size class by the SCL,
print a line The loggerhead is S. where S is the size class (hatchling, juvenile, subadult, or adult), and
have the file name loggerhead.py.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!