June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
7
Task/Variable-size-Set/Scala/variable-size-set.scala
Normal file
7
Task/Variable-size-Set/Scala/variable-size-set.scala
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* Ranges for variables of the primitive numeric types */
|
||||
println(s"A Byte variable has a range of : ${Byte.MinValue} to ${Byte.MaxValue}")
|
||||
println(s"A Short variable has a range of : ${Short.MinValue} to ${Short.MaxValue}")
|
||||
println(s"An Int variable has a range of : ${Int.MinValue} to ${Int.MaxValue}")
|
||||
println(s"A Long variable has a range of : ${Long.MinValue} to ${Long.MaxValue}")
|
||||
println(s"A Float variable has a range of : ${Float.MinValue} to ${Float.MaxValue}")
|
||||
println(s"A Double variable has a range of : ${Double.MinValue} to ${Double.MaxValue}")
|
||||
Loading…
Add table
Add a link
Reference in a new issue