Computer Science, asked by eelizajaved4529, 7 hours ago

13. Study the following programs and answer the given questions. 2*1=2
DECLARE FUNCTION EVE(A)
CLS
FOR I = 1 TO 10
READ E
B=B+EVE(E)
NEXT I
PRINT "NUMBER OF EVEN NUMBERS="; B
DATA 3,4,2,5,22,33,67,76,88,65
END
FUNCTION EVE(M)
C= M MOD 2
IF C=0 THEN
D=I
ELSE
D=0
END IF
EVE=D
END FUNCTION
Questions:
a> List the parameters used in the above program with their types.
b> What is the name of operators used in the above program?

Answers

Answered by araj3024
1

Answer:

questions. 2*1=2

DECLARE FUNCTION EVE(A)

CLS

FOR I = 1 TO 10

READ E

B=B+EVE(E)

NEXT I

PRINT "NUMBER OF EVEN NUMBERS="; B

DATA 3,4,2,5,22,33,67,76,88,65

END

FUNCTION EVE(M)

C= M MOD 2

IF C=0 THEN

D=I

ELSE

D=0

END IF

EVE=D

END FUNCTION

Questions:

a> List the parameters used in the above program with their types

Similar questions