1.9 KiB
1.9 KiB
Hints
General
- An integer value can be defined as one or more consecutive digits.
- String literals are a sequence of characters surrounded by double quotes.
1. Define the expected oven time in minutes
2. Calculate the remaining oven time in minutes
- You need to define a function with a single argument.
- You have to implicitly return an integer from a function.
- The function's argument is an integer.
- You can use the mathematical operator for subtraction to subtract values.
3. Calculate the preparation time in minutes
- You need to define a function with a single argument.
- You have to implicitly return an integer from a function.
- The function's argument is an integer.
- You can use the mathematical operator for multiplication to multiply values.
4. Calculate the total working time in minutes
- You need to define a function with two arguments.
- You have to implicitly return an integer from a function.
- The function's argument is an integer.
- You can invoke one of the other functions you've defined previously.
- You can use the mathematical operator for addition to add values.