代写 Ò»¡¢ÊµÑéÄ¿µÄ

Ò»¡¢ÊµÑéÄ¿µÄ
±àÒëÆ÷µÄʵÏÖ
1. Àí½âÓï·¨¡¢ÓïÒå·ÖÎö³ÌÐòΪÖÐÐĵĵ¥±é±àÒë³ÌÐò×éÖ¯·½·¨;
2. Àí½â±àÒë³ÌÐòµÄ»ù±¾Âß¼­¹ý³Ì(´Ê·¨·ÖÎö¡¢Óï·¨·ÖÎö¡¢ÓïÒå·ÖÎö¼°Ä¿±ê´úÂëµÄÉú³É; 3. Àí½â±àÒë¹ý³ÌÖеķûºÅ±í¡¢ÄÚ´æ¹ÜÀí¡¢´íÎó´¦ÀíµÄ»ù±¾·½·¨;
¶þ¡¢ÊµÑéÄÚÈÝ
1. ʵÏÖ´ø else ×Ó¾äµÄÌõ¼þÓï¾ä(30%)
<Ìõ¼þÓï¾ä>::=IF <Ìõ¼þ>THEN <Óï¾ä>[ELSE <Óï¾ä>]
2. ʵÏÖ²ÎÊý(²»¿ÉÒÔ½ö½öʹÓüĴæÆ÷Íê³É²ÎÊý´«µÝ)(50%) Àý
X := 2;
Y := 10;
if Y > 5 then if Y < 7 then X := 0 else X := 1; procedure p (b,c) var a; begin a:=b+c; write (a) end; begin read(b); read(c); call p(b,c) end. 3. ·ÖÀë±àÒëºÍÔËÐеĹý³Ì(20%) 1