Computer Science, asked by 2019hatsunemiku, 5 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 sstabhinavstudychane
1

Answer:

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?

Explanation:

please mark me as brain list

Similar questions