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