Write a program that reads 2 numbers from the console and displays their sum.
Input/Output
Summation
Report a typo
Sample Input 1:
8
11Sample Output 1:
19Write a program in Scala 3
import scala.io.StdIn._
@main def program =
// put your code here
___
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.