Ask coding questions

← Back to all posts
iam unable to solve it please help me out
fairoze (2)

please help me to understand this challenge. How to solve this

SixBeeps (3004)

Your functions need both parameters and return types in their declarations. Instead of

func add() {

you need to do something like

func add(n1: Int, n2: Int) -> Int {