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