cs2010 Notes: 21 Full Code Recipe
·1 min
https://homework.quest/classes/2024-09/cs2010/code-recipe/
A Pumpkin is an object with fields:
- farmer: String
- weight: Number, in lbs
We’re going to make a List of Pumpkins, then we’re going to follow the recipe to code a function to sort them by weight to help us hand out prizes at the state fair.