How to initialize array of dynamic size in go?

Answer • 1 Asked • Jan 28 2020
I try to write a small application in go that takes 'x' numbers of integers from standard input, calculates the mean and gives it back. I have only gotten so far:

When trying to compile this I get the following error message:
invalid array bound elems

What is wrong here?

Write your answer...

On a mission to build Next-Gen Community Platform for Developers