Solved

Which of the Following Loops Displays All Numbers from 0

Question 36

Multiple Choice

Which of the following loops displays all numbers from 0 to 40 in increments of 5?


A) Declare Numeric num = 0
While evenNum <= 40
Display num
Num = num + 5
End While

B) Declare Numeric num = 0 While num = 40
Display num
Num = num + 5
End While

C) Declare Numeric num = 1 While num < 40
Display num
Num = num + 5
End While

D) Declare Numeric num = 1 While num = 40
Display num
Num = num + 5
End While

Correct Answer:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents