typo fix - if-else.sh

This commit is contained in:
Deftly 2023-12-20 22:18:54 -08:00
parent ef7998951d
commit 8698e6691d
2 changed files with 4 additions and 4 deletions

View File

@ -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:)

4
public/if-else generated
View File

@ -151,10 +151,10 @@ in Go, but that the braces are required.</p>
</td>
<td class="code leading">
<pre class="chroma"><code><span class="line"><span class="cl"><span class="gp">$</span> go run if-else.go
<pre class="chroma"><code><span class="line"><span class="cl"><span class="gp">$</span> go run if-else.go
</span></span><span class="line"><span class="cl"><span class="go">7 is odd
</span></span></span><span class="line"><span class="cl"><span class="go">8 is divisible by 4
</span></span></span><span class="line"><span class="cl"><span class="go">either 7 or 8 are even
</span></span></span><span class="line"><span class="cl"><span class="go">either 8 or 7 are even
</span></span></span><span class="line"><span class="cl"><span class="go">9 has 1 digit</span></span></span></code></pre>
</td>
</tr>