Dear ALL,
Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question?
Complete the table below to show what each variable holds, the user enters the numbers 5, 6, 7, 8, 9
evens:=0;
for count:= 1 to 5 do
begin
writeln('Please enter a number');
readln(numbers[count]);
if (numbers[count] mod 2 = 0) then
begin
evens := evens + 1;
end
end;
writeln(evens);