Kabbage interview question

Had to validate the input parameters