Move the Console.Writeline outside the loop: C#. for (int x = start; x <= end; x++) { sum += x; } Console.WriteLine("The sum of the integers ...
確定! 回上一頁