Hi! Im a beginner taking the 14 day beginner challenge course! Its really cool and im learning a lot! When I attempted the Lesson 6 Challenge, for some reason, the “additional operators” wouldn’t work. I keep on getting an error for ceil, floor, sqrt, and pow (“Cannot find ‘ceil’ in scope”). In the instructions, it says to have an ‘import Foundation’ statement at the top. I don’t know what that is or how to do it. I tried just typing it in above the variables but the error persisted. Could someone help me understand the problem?
At the top of your playground file you should have the statement
Either one will give you access to the required maths capabilities.