检查数字是偶数还是奇数. Kotlin

检查数字是偶数还是奇数. Kotlin



使用 if...else 语句检查数字是偶数还是奇数
Kotlin example code

Kotlin

  Output result
Enter a number: 12
12 is even
使用 if...else 表达式检查数字是偶数还是奇数
Kotlin example code

Kotlin

  Output result
Enter a number: 13
13 is odd


.dll file is missing? Download for Windows 7, 8, 10 - Fix .dll file Missing Error on Windows | dll-box.com

BeeCoder.ORG

open source code and examples

We have been online since 2021 and 1 millions of people around the globe have visited our website since then

More visitors every month