+ 1
trying many time but i can not solve this code helb me
func calc(num: inout Int) { num = num*5 } var a = 8 calc(num: )
1 Antwort
+ 1
func calc(num: inout Int) {
num = num*5
}
var a = 8
calc(num: &a)
print(a)
func calc(num: inout Int) { num = num*5 } var a = 8 calc(num: )