Lasagna Recipe


Story

The story of this exercise uses a lasagna recipe to focus on the creation of basic functions, operators, integers, and return values.

Tasks

The story facilitates defining functions:

  • Returning the expected cooking time.
  • Calculating the remaining time in the oven.
  • Calculating preparation time as a function of the number of layers in a lasagna.
  • Calculating the total cooking time.

Implementations

Name suggestions

Reference