Responses for exercises in Exercism.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1.4 KiB

Hints

General

  • An integer literal can be defined as one or more consecutive digits.

1. Define the expected oven time in minutes

  • You need to define a function without any parameters.

2. Calculate the remaining oven time in minutes

  • You need to define a function with a single parameter.
  • You can use and refer to the previously defined item by its name.
  • The last expression in a function is automatically returned from the function; you don't have to explicitly indicate which value to return.
  • You can use the mathematical operator for subtraction to subtract values.

3. Calculate the preparation time in minutes

4. Calculate the elapsed time in minutes