If [red light]
Then “stop at a marked limit line” (A,B)
If [an indication to proceed is shown]
Then
Go(A,B);
else
if[no prohibiting a turn]
then Go(B)
Exception
If [pedestrians lawfully within an adjacent crosswalk]
Then
Yield (B);
End If;
End If;
End If;
If [green light]
Then
If [pedestrians lawfully within an adjacent crosswalk]
Then
Yield(B);
Else
Go (A);
End if;
End If;
非程序员改写一把,请指教:
所有跟帖:
•
你那个提示是对的,这样一个条件下面,就只会有一个指令了
-慧惠-
♀
(693 bytes)
()
03/09/2015 postreply
17:24:45
•
算了,超出俺的理解范围了,谢谢你的合作。既然已打包,就别再劳神了。
-水中捞月-
♂
(0 bytes)
()
03/09/2015 postreply
17:33:12
•
嗯,打包的东西,我也懒得进。不过我明白了,否则堵那儿非把我憋死不可。
-慧惠-
♀
(0 bytes)
()
03/09/2015 postreply
17:37:05