Multiplication & addition tables to print out
This is how you print out the multiplication and addition tables in Golang.
func Multiply() {
for i := 1; i < 10; i++ {
fmt.Printf("Multiplication table: %v\n", i)
for j := 1; j < 10; j++ {
a := j * i
fmt....
go.mohamedallam.tech1 min read