Julia Program to demonstrate creation of Arrays using splat operator

Program

# Julia program to demonstrate Array Creation using Splat operator()
println("Printing numbers 0 to 10")
array1 = [0:10...]
println(array1)

Output

$ julia demo-create-array-using-splat-operator.jl 
Printing numbers 0 to 10
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

Interactive Mode

``` julia> [0:10...] 11-element Array{Int64,1}: 0 1 2 3 4 5 6 7 8 9 10 ```