package
0.0.0-20211212162911-6c9bd3a40a2b
Repository: https://github.com/striversity/glft.git
Documentation: pkg.go.dev

# README

Section 03 Exercise 01 - Declaring and Using Arrays

Create a go program which does the following

TODO 1

  1. Declares an array of 10 to 20 elements of type float64 using a const for the array size

TODO 2

  1. Initialize the array with random currency values using 'input.GetRandFloat()'.
    • TIP:
      • See Section 02 - Lecture 10 for the currency type
      • Use a 'for' loop to initialize your array values
      • The 'input' package is github.com/striversity/glft/shared/input and was covered in Sec01-Lec12.

TODO 3

  1. Calculate total, max, min, avg