Block 3 Unit 12 Flashcards

1
Q

Explain how the Quantity pattern can be applied to the user-defined type Money.

A

Money is a quantity with a value (the amount) and a unit (the currency).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly