1.
Write the
Cake
structure, which has instance variables name, weight and member function has_icing function that returns a bool. Use the Cake
object initialised below to invoke the has_icing function.