Computer Science, asked by gurbaaz2010, 1 month ago

Write a program to compute P value using
For... Next loop where:
P=1
2+22+32+42+52+62

Answers

Answered by sreeswar
0

Answer:

1] SUM = 0

FOR I = 1 TO 6 STEP 1

   SUM = SUM + I * I

NEXT I

PRINT "DONE"; SUM

Explanation:

lol do ur classwork ur self kid

Similar questions