Lasagna Master


Story

In this exercise you're going to write some more code to help you cook your brilliant lasagna from your favorite cooking book.

Tasks

The story facilitates defining functions:

  • Allow changing the expected oven time using default arguments
  • Allow differing numbers of layers when computing preparation time by accepting layers as a variadic parameter.
  • Compute amounts of noodles and sauce returning multiple values
  • Convert liters to fluid ounces using inout parameters
  • Determine the best wine to serve using a nested function

Implementations