Computer Science, asked by mahatonitesh39, 2 months ago

Write the output of the following program
CLS
For i = 1 to 6
S=S+i^2
Next i
PRINT "The Result=" 's
END​

Answers

Answered by alveerak79
0

Answer:

DECLARE FUNCTION AREA (A,B)

CLS

LET A = 30

LET B = 40

LET D = AREA(A,B)

PRINT D

END

FUNCTION AREA(A,B)

PRINT A, B

AREA=A*B

END FUNCTION

 

Output:

30              40

1200

 

 

Explanation:

Similar questions