iOS Functions in Swift Adding Power to Functions Function Parameters

Function parameters

I don't get this question, please help!!

// Enter your code below
func getRemainder (value: int , divisor: int ) {
a % b
return getRemainder

You have a couple of issues going here: 1. you are using lower case for declaring the value type int and that may be why it is not working. 2. You also need to return the actual operation between the value and the divisor instead of the function itself. Also remember that to use local names for the parameters within a function you must also include them in the declaration, like so...

func getRemainder (value a: Int, divisor b: Int ) -> Int {
    let result = a % b
    return result

Hope that helps.