From the error you're showing, that just means that you are giving the function the incorrect parameters. For instance if you are calling getDigit(5) that is incorrect. Your function declaration...