Section11-2

This commit is contained in:
2023-11-15 15:18:17 +01:00
parent 110aab4934
commit 12c600ef09
3 changed files with 83 additions and 0 deletions

17
Section11/89-3.go Normal file
View File

@@ -0,0 +1,17 @@
/*
Coding Exercise #3
1. Declare a slice called nums with three float64 numbers.
2. Append the value 10.1 to the slice
3. In one statement append to the slice the values: 4.1, 5.5 and 6.6
4. Print out the slice
5. Declare a slice called n with two float64 values
6. Append n to nums
7. Print out the nums slice
*/