Assignment - Functions

Added a ternary to the personal calculation