yossra ahmed hossam programming mock exa

19
67 89.3% 9

Upload: others

Post on 20-Feb-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

67

89.3%

9

OUTPUT PosNum, " Positive numbers"OUTPUT Zero, "Zeros"

ENDIF

IF Num =0 THEN Zero<----- Zero+1ENDIF

There is no need to count negative numbers

-1

reduce the numbers of iterations to a manageable amount

0

Seniors 5Adults 5Children 4

-1

Number of Distinctions 2

Average Mark 60

-2

-3

-1an error hat occurs because the programmer does not use the correct language structure in the program