Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

how to multiply numbers in array swift

let values = [20, 2, 3]
let doubles = values.map { $0 * 2 }
let triples = values.map { $0 * 3 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiply #numbers #array #swift
ADD COMMENT
Topic
Name
6+5 =