Skip to content
Snippets Groups Projects
Commit 4ce53e64 authored by Martin Schmollinger's avatar Martin Schmollinger
Browse files

Solution to exercise of unit 02-02

parent bfaba34f
No related branches found
No related tags found
No related merge requests found
module gitlab.reutlingen-university.de/go-exercises/go-starter/exercise_0202
go 1.20
package main
import "fmt"
const (
_ = 1 << (10 * iota)
KIB
MIB
GIB
)
func main() {
fmt.Println(KIB)
fmt.Println(MIB)
fmt.Println(GIB)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment