Use the following pseudo code with your own choice of values of X.

10 INPUT X

20 LET Y = X/3

30 LET R = Y - INT(Y)

40 IF R = 0 PRINT ACCEPT, GOTO A

50 PRINT REJECT

60 LABEL A

70 END

(i) Explain what is being achieved.

What I did is...

X Y R INT(Y) A

10 3

20 1

30 0

40

50

60

70

I don't really get how to do it :S

(ii)If you replaced the line LET Y = X/3 by the line LET Y = x/5, how would this change the outcome of the above?

->?