You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// RemainingOvenTime returns the remaining minutes based on the `actual` minutes already in the oven.
funcRemainingOvenTime(actualMinutesInOvenint) int {
returnOvenTime-actualMinutesInOven
}
// PreparationTime calculates the time needed to prepare the lasagna based on the amount of layers.
funcPreparationTime(numberOfLayersint) int {
returnnumberOfLayers*2
}
// ElapsedTime calculates the time elapsed cooking the lasagna. This time includes the preparation time and the time the lasagna is baking in the oven.
funcElapsedTime(numberOfLayers, actualMinutesInOvenint) int {