iOS Functions in Swift Functions in Swift Recap: Functions

funct problem

Hello,

I cannot see what I'm doing wrong, I need help please.

Thank you in advance!

John

functions.swift
// Enter your code below
func temperatureInFahrenheit(temperature: Double) -> Double  {
return temperatureInFahrenheit
}

2 Answers

Chris Stromberg
PRO
Chris Stromberg
Pro Student 13,389 Points

Check what your are returning in your function. It should not be temperatureInFahrenheit!

Thanks very much Chris!

Have a great night!

John