From 6f3370693dd74a3b1615d02eb5237510efa27e8c Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 30 Jan 2024 06:47:29 +0100 Subject: [PATCH] Starting new exercise --- golangr/range/go.mod | 3 +++ golangr/range/main.go | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 golangr/range/go.mod create mode 100644 golangr/range/main.go diff --git a/golangr/range/go.mod b/golangr/range/go.mod new file mode 100644 index 0000000..3b0f1c2 --- /dev/null +++ b/golangr/range/go.mod @@ -0,0 +1,3 @@ +module range + +go 1.21.6 diff --git a/golangr/range/main.go b/golangr/range/main.go new file mode 100644 index 0000000..2b85db4 --- /dev/null +++ b/golangr/range/main.go @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" +) + +// https://golangr.com/range +// TODO: Create something similar to the array exercise but cleaner and better + +var notas []float64 + +func main() { + fmt.Print("\033[H\033[2J") + fmt.Println("Welcome") +} + +func msg() { + fmt.Print("\033[H\033[2J") + println() +} + +func choices() { + fmt.Print("\033[H\033[2J") +} + +func average() { + +} + +func minmax() { + +}