diff --git a/src/Chapter04/Listing04.22.NestedIf.cs b/src/Chapter04/Listing04.22.NestedIf.cs index d320088a..5a240c2c 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