Qtr No. 213, New Town Yehlanka
Indore 454775, India
let names = ["Amy","Sam","Sandy"]
By using the names array, I would like to print as below: Select the correct code snippet for that
Hello, Amy! Hello, Sam! Hello, Sandy!
A. for i in 0...names.count {
print("Hello , \(names[i]) !")
}
B. for i in 0..names.count {
print("Hello , \(names[i]) !")
}
C. for i in 0..<names.count {
print("Hello , \(names[i]) !")
}
D. for i in 0..<names.length {
print("Hello , \(names[i]) !")
}
To get all Infosys Certified iOS Swift App Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee