From d3c9ce02e8102031d99a8a68c00d94d32157eb56 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Tue, 4 Mar 2025 17:22:09 -0800 Subject: [PATCH] fix: Remove Line Numbers --- src/Chapter04/Listing04.22.NestedIf.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Chapter04/Listing04.22.NestedIf.cs b/src/Chapter04/Listing04.22.NestedIf.cs index d320088aa..5a240c2cf 100644 --- a/src/Chapter04/Listing04.22.NestedIf.cs +++ b/src/Chapter04/Listing04.22.NestedIf.cs @@ -19,19 +19,19 @@ public static void Main() input = int.Parse(Console.ReadLine()); // Condition 1. - if (input <= 0) // line 16 + if (input <= 0) // Input is less than or equal to 0 Console.WriteLine("Exiting..."); else // Condition 2. - if (input < 9) // line 20 + if (input < 9) // Input is less than 9 Console.WriteLine( $"Tic-tac-toe has more than {input}" + " maximum turns."); else // Condition 3. - if (input > 9) // line 26 + if (input > 9) // Input is greater than 9 Console.WriteLine( $"Tic-tac-toe has fewer than {input}" + @@ -39,7 +39,7 @@ public static void Main() // Condition 4. else // Input equals 9 - Console.WriteLine( // line 33 + Console.WriteLine( "Correct, tic-tac-toe " + "has a maximum of 9 turns."); #endregion INCLUDE