input(i) while i0 then if x>0 or y=3 then
DESCRIPTION
input(I) while I0 then if X>0 OR Y=3 then Y := -X else Y:=-Y end_if_else else Y := X+Y end_if_else I := I+1 end_while. s1. s1 input(I) while I0 then - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/1.jpg)
input(I)
while I<17 do
input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
Y := -X
else
Y:=-Y
end_if_else
else
Y := X+Y
end_if_else
I := I+1
end_while
![Page 2: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/2.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
s6
s1
![Page 3: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/3.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
s6
s1
![Page 4: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/4.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c2:
c3:
s6
s1
c4:
c1:
![Page 5: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/5.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c2:
c3:
s6
s1
c4:
TT, TF, FT, FF
c1:
![Page 6: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/6.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1:
c2:
c3:
s6
s1
c4:
TT, TF, FT, FF
![Page 7: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/7.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T
c2:
c3:
s6
s1
c4:
TT, TF, FT, FF
![Page 8: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/8.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T
c2:
c3:
s6
s1
c4:
TT, TF, FT, FF
![Page 9: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/9.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c2: T
c3:
s6
s1
c4:
TT, TF, FT, FF
c1: T
![Page 10: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/10.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T,F
c2: T
c3: T
s6
s1
c4: T
TT, TF, FT, FF
![Page 11: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/11.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T,F
c2: T
c3: T
s6
s1
c4: T
TT, TF, FT, FF
![Page 12: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/12.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T,F
c2: T
c3: T
s6
s1
c4: T
TT, TF, FT, FF
![Page 13: input(I) while I0 then if X>0 OR Y=3 then](https://reader034.vdocuments.net/reader034/viewer/2022051402/56815a95550346895dc81340/html5/thumbnails/13.jpg)
s1 input(I)
while I<17 do
s2 input(X,Y)
if Y>0 then
if X>0 OR Y=3 then
s3 Y := -X
else
s4 Y:=-Y
end_if_else
else
s5 Y := X+Y
end_if_else
s6 I := I+1
end_while
s2
s3s4s5
b3b4
b5b6
b1
b2
c1: T,F
c2: T
c3: T
s6
s1
c4: T
TT, TF, FT, FF