Define a constant variable named isProgrammingCool so that the following code that uses this variable prints the correct dialog
Basic literals
Programming is cool
Report a typo
Sample Input 1:
Sample Output 1:
— Programming is cool.
— So true!Write a program in Scala 3
object Main extends App {
/* your code */
println("— Programming is cool.")
println(s"— So $isProgrammingCool!")
}
___
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.