Multiple choice

What is the meaning of the following code?

Dim I, sum as integerPrivate Sub command1_click ()sum = 0For i = 3 to 15sum = sum + iNext iLabel1.caption = sum =&cstr(sum)End Sub

  1. This code finds the summation of the numbers from 5 to 15.

  2. This code finds the summation of 10 numbers.

  3. This code prints multipliers of 3 (from 3 to 15).

  4. This code finds the summation of the numbers from 3 to 15.

  5. There is error in the code.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the correct meaning of the given code.