Arrange the code blocks so that you get a correct Scala file that will compile. Note that the libs directory contains other libraries besides math.
Imports
Package or Import?
Report a typo
Put the items in the correct order
import scala.math.sinobject MyMath {
def doubleSin(angle: Double) = sin(angle) * 2
}package mathpackage libs ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.