将下列的伪代码表示转换为PAD BEGIN s1; if x>5 then s2 else s3;while y<0 do begin if z>3 then s4 else s5; while w>0 then s6; s7; end; s8; if u>0 then s9; s10; END;
时间: 2024-04-27 22:24:37 浏览: 152
PAD
s1
IF x > 5 THEN
s2
ELSE
s3
WHILE y < 0 DO
BEGIN
IF z > 3 THEN
s4
ELSE
s5
WHILE w > 0 DO
BEGIN
s6
END
s7
END
s8
IF u > 0 THEN
BEGIN
s9
END
s10
END_PAD
阅读全文