September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
11
Task/Variable-size-Set/Kotlin/variable-size-set.kotlin
Normal file
11
Task/Variable-size-Set/Kotlin/variable-size-set.kotlin
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// version 1.0.6
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
/* ranges for variables of the primitive numeric types */
|
||||
println("A Byte variable has a range of : ${Byte.MIN_VALUE} to ${Byte.MAX_VALUE}")
|
||||
println("A Short variable has a range of : ${Short.MIN_VALUE} to ${Short.MAX_VALUE}")
|
||||
println("An Int variable has a range of : ${Int.MIN_VALUE} to ${Int.MAX_VALUE}")
|
||||
println("A Long variable has a range of : ${Long.MIN_VALUE} to ${Long.MAX_VALUE}")
|
||||
println("A Float variable has a range of : ${Float.MIN_VALUE} to ${Float.MAX_VALUE}")
|
||||
println("A Double variable has a range of : ${Double.MIN_VALUE} to ${Double.MAX_VALUE}")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue