Paycom interview question

The technical question was making a function.