Assignment - Functions

If and Else If statements created, variables assigned correct values