Solved

Examine the Following Lines of Code

Question 10

Multiple Choice

Examine the following lines of code:
Current = 1
Sum = 0
N = 5
While current <= n:
Sum = sum + current
Current = current + 1
This is an example of:


A) A definite loop
B) An indefinite loop
C) An infinite loop
D) Input error checking

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions