Swift - Basics and Runtime
You want to write a Swift program that safely calculates the average of an array of numbers, but the array might be empty. Which approach best uses Swift's safety features?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions