Skip to content

Commit 15a2b7e

Browse files
authored
Merge pull request #9 from nekketsuuu/nekketsuuu-better-f
improved "F" in Chapter 1
2 parents 99d784d + 230d8fc commit 15a2b7e

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

book/print.html

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,15 @@ <h1 class="menu-title">Jang</h1>
178178
<p>Write a program to print <code>Hello, World</code>.</p>
179179
</li>
180180
<li>
181-
<p>Write a program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters.<br />
182-
######<br />
183-
#<br />
184-
#<br />
185-
#####<br />
186-
#<br />
187-
#<br />
188-
#\</p>
181+
<p>Write a program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters.</p>
182+
<pre><code>######
183+
#
184+
#
185+
#####
186+
#
187+
#
188+
#
189+
</code></pre>
189190
</li>
190191
<li>
191192
<p>Create a <code>tuple</code> to hold an <code>i32</code> and <code>f32</code> and then call the <code>f32</code> value.</p>

book/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

book/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/chapter_1-basics/questions.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22

33
* Write a program to print `Hello, World`.
44

5-
* Write a program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters.\
6-
######\
7-
#\
8-
#\
9-
#####\
10-
#\
11-
#\
12-
#\
5+
* Write a program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters.
6+
7+
```
8+
######
9+
#
10+
#
11+
#####
12+
#
13+
#
14+
#
15+
```
1316
1417
* Create a `tuple` to hold an `i32` and `f32` and then call the `f32` value.
1518

0 commit comments

Comments
 (0)