Sorry for late response... The signature is func bmi(_ weight: Int, _ height: Double) -> String, so func calcBMI(userWeight weight: Double, userHeight height: Double) -> String won't work.
func bmi(_ weight: Int, _ height: Double) -> String
func calcBMI(userWeight weight: Double, userHeight height: Double) -> String
AFAIK, it works in Swift, check the function's name, in the kata it's bmi and the parameter's types are Int and Double, click reset to see it.
bmi
Int
Double
Post your code and we can help. (Note: with a spoiler flag, and using markdown formatting.)
Loading collection data...
Sorry for late response...
The signature is
func bmi(_ weight: Int, _ height: Double) -> String
, sofunc calcBMI(userWeight weight: Double, userHeight height: Double) -> String
won't work.AFAIK, it works in Swift, check the function's name, in the kata it's
bmi
and the parameter's types areInt
andDouble
, click reset to see it.Post your code and we can help.
(Note: with a spoiler flag, and using markdown formatting.)