From 8698e6691d4cc0345d562c4b5250293a5cd75d2d Mon Sep 17 00:00:00 2001 From: Deftly Date: Wed, 20 Dec 2023 22:18:54 -0800 Subject: [PATCH] typo fix - if-else.sh --- examples/if-else/if-else.sh | 4 ++-- public/if-else | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/if-else/if-else.sh b/examples/if-else/if-else.sh index 99f60cc..502ca1e 100644 --- a/examples/if-else/if-else.sh +++ b/examples/if-else/if-else.sh @@ -1,7 +1,7 @@ -$ go run if-else.go +$ go run if-else.go 7 is odd 8 is divisible by 4 -either 7 or 8 are even +either 8 or 7 are even 9 has 1 digit # There is no [ternary if](https://en.wikipedia.org/wiki/%3F:) diff --git a/public/if-else b/public/if-else index d40fe0d..7bc1b61 100644 --- a/public/if-else +++ b/public/if-else @@ -151,10 +151,10 @@ in Go, but that the braces are required.

-
$ go run if-else.go 
+          
$ go run if-else.go
 7 is odd
 8 is divisible by 4
-either 7 or 8 are even
+either 8 or 7 are even
 9 has 1 digit