4. Short answer type questions.
Consider the given program and answer the following questions. sum = 0 For N = 1 TO 30 Step 2 sum = sum + N EndFor TextWindow.WriteLine("sum =" + sum)
(i) How many times the above loop will run?
(ii) What will be the output of the above program?
(iii) Explain infinite loop with the help of example.
(iv) Explain the syntax of For... EndFor loop statement.
ples answer
Answers
Answered by
3
Answer:
HOPE YOU HELP FULL ANSWER
Attachments:
Similar questions