PCEP Control Flow, Loops, Lists and Logic • 40 Questions
40 PCEP Control Flow, Loops, Lists and Logic practice questions with answers and explanations. Free, no signup.
A developer writes a loop to sum numbers from 1 to 10. The code outputs 55, but the expected sum is 55. However, the loop uses a range that includes 0. Which range should be used to achieve the correct sum?