Lasagna exercise type error from the tip after submitting

Lasagna exercice, when this function is written like this :

int elapsedTime(int numberOfLayers, int actualMinutesInOven) {
    // TODO: Calculate and return the total time so far.
    return numberOfLayers * 2   actualMinutesInOven;
}

“Instead of re-caluclating the preparation time in the elapsedTime function, you should use your preparationTime function.”

re-caluclating >>>re-calculating

+cc @vaeng

1 Like

Thanks for pointing that out. Editing this line is pretty complicated. :smiley: It should be updated now.

2 Likes