5 lines
91 B
Swift
5 lines
91 B
Swift
let minutes = [1, 2, 3]
|
|
var total = 0
|
|
for value in minutes { total += value }
|
|
print(total)
|