Computer Studies > 2016 > 23
Use the BASIC program below to answer this question
10     LET K = 2
20     LET L = 9
30     LET SUM = 0
40     FOR J = K TO STEP 2
50     SUM = SUM + J^2
60     PRINT "ANSWER =", SUM
70     NEXT J
80     END
How many times will the statement lines 50 and 60 be repeated?
Answer: C
To see detailed solution to this question and thousands of other questions offline, download TestDriller SSCE. Practice rigorously for WASSCE, enjoy educational games, get chief examiners' reports, summary of WAEC literature books, compete with your peers, win prizes and more.