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.8 KiB
1.8 KiB
Hints
General
- An integer value can be defined as one or more consecutive digits.
1. Define the expected oven time in minutes
2. Calculate the remaining oven time in minutes
- You need to define a method with a single parameter.
- You have to explicitly return an integer from a method.
- The method's parameter 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 method with a single parameter.
- You have to explicitly return an integer from a method.
- The method's parameter is an integer.
- You can use the mathematical operator for multiplicaton to multiply values.
4. Calculate the elapsed time in minutes
- You need to define a method with two parameters.
- You have to explicitly return an integer from a method.
- The method's parameter is an integer.
- You can invoke one of the other methods you've defined previously.
- You can use the mathematical operator for addition to add values.