Just checking

Report a typo

We need your help to improve the adaptive system. Write a program that finds out which programming language a student is learning. I hope you know the correct answer.

Which programming language are you learning?

  1. Java

  2. Kotlin

  3. Scala

  4. Python

The program is to read the numerical answer from the standard input and output the result: Yes!, No!, or Unknown number.

Sample Input 1:

2

Sample Output 1:

Yes!

Sample Input 2:

6

Sample Output 2:

Unknown number
Write a program in Kotlin
fun main() {
// write your code here
}
___

Create a free account to access the full topic