From 924249b5479b4858289c2472e5a39359cfd33655 Mon Sep 17 00:00:00 2001 From: Inanc Gumus Date: Mon, 19 Nov 2018 11:11:20 +0300 Subject: [PATCH] fix: dynamic math table exercise for git bash --- .../02-math-tables/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/13-loops/exercises/07-multiplication-table-exercises/02-math-tables/main.go b/13-loops/exercises/07-multiplication-table-exercises/02-math-tables/main.go index 6735267..b6c13b8 100644 --- a/13-loops/exercises/07-multiplication-table-exercises/02-math-tables/main.go +++ b/13-loops/exercises/07-multiplication-table-exercises/02-math-tables/main.go @@ -86,6 +86,21 @@ package main // 2 0 0 0 2 2 // 3 0 0 1 0 3 // 4 0 0 0 1 0 +// +// NOTES: +// +// When running the program in Windows Git Bash, you might need +// to escape the characters like this. +// +// This happens because those characters have special meaning. +// +// Division: +// go run main.go // 4 +// +// Multiplication and others: +// (this is also necessary for non-Windows bashes): +// +// go run main.go "*" 4 // --------------------------------------------------------- func main() {