1
1
Fork 0

Minor: updated book sample

This commit is contained in:
Svetlana Isakova 2019-10-24 15:46:05 +02:00
parent 433b684a26
commit c39ab25fbe
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
// IfExpressions/If6.kt
fun main() {
val result = if (99 > 100) 4 else 42
val num = 10
val result = if (num > 100) 4 else 42
println(result)
}
/* Output: