Forums
Learn
Careers
Store
About
SUBSCRIBE
TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>
Question 1/6: Which of these make result an integer equal to 10?
result
Hint: Watch out for constants! Click to show.
Option 1:
var result = 21 result -= 11
This subtracts 11 from 21, which makes 10.
Option 2:
var result = 0 result *= 10
0 multiplied by 10 is 0.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.