Created
August 3, 2020 12:07
-
-
Save BMU-Verlag/5ebdac484c326d9d4b478d965aeff278 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main() { | |
var a: Int = 4 | |
if (a == 5) | |
println("Der Wert der Variable a entspricht 5.") | |
else if (a > 5){ | |
println("Der Wert der Variable a entspricht nicht 5.") | |
println("Ihr Wert ist größer.") | |
} | |
else{ | |
println("Der Wert der Variable a entspricht nicht 5.") | |
println("Ihr Wert ist kleiner.") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment