Skip to content

Commit 1dcaeee

Browse files
fix: Remove Line Numbers (#810)
Fixes #621
1 parent dd98f12 commit 1dcaeee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Chapter04/Listing04.22.NestedIf.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@ public static void Main()
1919
input = int.Parse(Console.ReadLine());
2020

2121
// Condition 1.
22-
if (input <= 0) // line 16
22+
if (input <= 0)
2323
// Input is less than or equal to 0
2424
Console.WriteLine("Exiting...");
2525
else
2626
// Condition 2.
27-
if (input < 9) // line 20
27+
if (input < 9)
2828
// Input is less than 9
2929
Console.WriteLine(
3030
$"Tic-tac-toe has more than {input}" +
3131
" maximum turns.");
3232
else
3333
// Condition 3.
34-
if (input > 9) // line 26
34+
if (input > 9)
3535
// Input is greater than 9
3636
Console.WriteLine(
3737
$"Tic-tac-toe has fewer than {input}" +
3838
" maximum turns.");
3939
// Condition 4.
4040
else
4141
// Input equals 9
42-
Console.WriteLine( // line 33
42+
Console.WriteLine(
4343
"Correct, tic-tac-toe " +
4444
"has a maximum of 9 turns.");
4545
#endregion INCLUDE

0 commit comments

Comments
 (0)