Pseudocode Lesson 1
Pseudocode Lesson 1
Variables:
Assignment:
ARRAYS:
20 10 10 60 20 30 50
Number1[3] 10
Number1 [5] 20
FOR Counter 1 TO 7
OUTPUT Number1[counter]
NEXT counter
FOR Counter 1 TO 7
INPUT Number1[counter]
NEXT counter
FOR Counter 1 TO 7
Number1[counter]= Number1[counter]+10
OUTPUT Number1[counter]
NEXT counter
30 20 20 70 30 40 60
FOR Counter 1 TO 7
NEXT Counter
EvenCounter, OddCounter=0
FOR Counter 1 TO 7
IF Number1[counter]%2==0 THEN
EvenCounter
NEXT Counter