Problem set 2 has three parts as shown below. Please submit joint work with a partner. Include both partner's names on each part of the assignment.
|What is it
||How to submit it
||Submit one paper for both partners
|Baby data modeling project*
||Submit an SML file here on Canvas,
one copy for both partners
Submit via the online autotester.
Each partner should submit their own copy.
* In class on Wednesday, we started the "Baby data modeling project", in which I asked you to model a pizza parlor menu well enough to make a pizza order and compute its cost (less tax and tip). Create an SML file that includes your data types to represent a pizza order, plus one or more functions to compute the total cost of a pizza. In a comment, note the aspects of the menu that you chose not to model, and explain why.
(Note: Legitimate reasons not to model something include, "I can't," "It's not relevant/important," and "It would make the model too complicated." You may think of other reasons.)
** For problem 1.12.8, define a function named
fib. Note that the Fibonacci sequence, in its modern definition, begins with F0 = 0 and F1 = 1.