¶Á³ÌÐò¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

¼×£ºINPUT  i£½1       ÒÒ£ºINPUT  i£½1000

S£½0                   S£½0

WHILE i£¼£½1000       DO

S£½S£«i                      S£½S£«i

i£½i£«l                      i£½i£­1

WEND                LOOP UNTIL i¡Ü1

PRINT S               PRINT  S

END                  END

¶Ô¼×ÒÒÁ½³ÌÐòºÍÊä³ö½á¹ûÅжÏÕýÈ·µÄÊÇ                           £¨    £©

A£®³ÌÐò²»Í¬£¬½á¹û²»Í¬                    B£®³ÌÐò²»Í¬£¬½á¹ûÏàͬ¡¡

C£®³ÌÐòÏàͬ£¬½á¹û²»Í¬                    D£®³ÌÐòÏàͬ£¬½á¹ûÏàͬ

 

¡¾´ð°¸¡¿

A

¡¾½âÎö¡¿

ÊÔÌâ·ÖÎö£º¼×³ÌÐòÑ­»·±äÁ¿³õʼֵ1£¬²½³¤1£¬Ñ­»·1000´Î£¬Çó1µ½1000µÄºÍ£»do.....loop untilÏÈÑ­»·Ò»´Î£¬ÔÚÅжÏÊÇ·ñÂú×ãÌõ¼þ£¬while...wend ºÍ do until...loop¶¼ÊÇÏÈÅжÏÌõ¼þÔÙÑ­»·¡£Ò²¾ÍÊǵÚÒ»¸ö±ÈºóÁ½¸ö¶àÒ»´ÎÑ­»·¡£¹ÊÑ¡A¡£

¿¼µã£º±¾ÌâÖ÷Òª¿¼²éËã·¨ÓïÑÔ¼°³ÌÐòµÄ¹¦ÄÜʶ±ð¡£

µãÆÀ£º¼òµ¥Ì⣬´Ó³õʼֵ¡¢²½³¤¡¢Ñ­»·Óï¾äµÈÈÏʶ³ÌÐò¡£

 

Á·Ï°²áϵÁдð°¸
Ïà¹ØÏ°Ìâ

¿ÆÄ¿£º¸ßÖÐÊýѧ À´Ô´£º2015½ìɽÎ÷Ê¡¸ßÒ»ÏÂѧÆÚÆÚÖп¼ÊÔÊýѧÀí¿ÆÊÔ¾í£¨½âÎö°æ£© ÌâÐÍ£ºÑ¡ÔñÌâ

¶Á³ÌÐò¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

¼×£ºINPUT  i£½1       ÒÒ£ºINPUT  i£½1000

S£½0                   S£½0

WHILE i£¼£½1000       DO

S£½S£«i                      S£½S£«i

i£½i£«l                      i£½iÒ»1

WEND                LOOP UNTIL i¡Ü1

PRINT S               PRINT  S

END                  END

¶Ô¼×ÒÒÁ½³ÌÐòºÍÊä³ö½á¹ûÅжÏÕýÈ·µÄÊÇ                           £¨    £©

A£®³ÌÐò²»Í¬£¬½á¹û²»Í¬                    B£®³ÌÐò²»Í¬£¬½á¹ûÏàͬ¡¡

C£®³ÌÐòÏàͬ£¬½á¹û²»Í¬                    D£®³ÌÐòÏàͬ£¬½á¹ûÏàͬ

 

²é¿´´ð°¸ºÍ½âÎö>>

¿ÆÄ¿£º¸ßÖÐÊýѧ À´Ô´£º2014½ìɽÎ÷Ê¡¸ßÒ»µÚ¶þѧÆÚµÚÒ»´ÎÔ¿¼Êýѧ£¨½âÎö°æ£© ÌâÐÍ£ºÑ¡ÔñÌâ

¶Á³ÌÐò¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

¼×£ºINPUT i£½1        ÒÒ£ºINPUT  i£½1000

          S£½0                   S£½0

       WHILE i£¼£½1000       DO

       S£½S£«i                      S£½S£«i

       i£½i£«l                       i£½i£­1

       WEND                LOOP UNTIL i£¼1

       PRINT S               PRINT  S

END                  END

¶Ô¼×ÒÒÁ½³ÌÐòºÍÊä³ö½á¹ûÅжÏÕýÈ·µÄÊÇ(¡¡¡¡)

A£®³ÌÐò²»Í¬£¬½á¹û²»Í¬           B£®³ÌÐò²»Í¬£¬½á¹ûÏàͬ¡¡

C£®³ÌÐòÏàͬ£¬½á¹û²»Í¬           D£®³ÌÐòÏàͬ£¬½á¹ûÏàͬ

 

²é¿´´ð°¸ºÍ½âÎö>>

¿ÆÄ¿£º¸ßÖÐÊýѧ À´Ô´£º2013½ìºÓ±±Ê¡¸ß¶þµÚÒ»´ÎÔ¿¼Àí¿ÆÊýѧÊÔ¾í ÌâÐÍ£ºÑ¡ÔñÌâ

¶Á³ÌÐò¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡

¼×£ºINPUT i£½1        ÒÒ£ºINPUT  i£½1000

    S£½0                   S£½0

    WHILE i£¼£½1000       DO

    S£½S£«i                      S£½S£«i

    i£½i£«l                       i£½iÒ»1

    WEND                LOOP UNTIL i£¼1

    PRINT S               PRINT  S

END                  END

¶Ô¼×ÒÒÁ½³ÌÐòºÍÊä³ö½á¹ûÅжÏÕýÈ·µÄÊÇ£¨     £©

A£®³ÌÐò²»Í¬£¬½á¹û²»Í¬           B£®³ÌÐò²»Í¬£¬½á¹ûÏàͬ¡¡

C£®³ÌÐòÏàͬ£¬½á¹û²»Í¬           D£®³ÌÐòÏàͬ£¬½á¹ûÏàͬ

 

²é¿´´ð°¸ºÍ½âÎö>>

¿ÆÄ¿£º¸ßÖÐÊýѧ À´Ô´£º ÌâÐÍ£ºµ¥Ñ¡Ìâ

¶Á³ÌÐò¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¼×£ºINPUT i£½1       ÒÒ£ºINPUT  i£½1000
S£½0                   S£½0
WHILE i£¼£½1000       DO
S£½S+i                      S£½S+i
i£½i+l                      i£½iÒ»1
WEND                LOOP UNTIL i£¼1
PRINT S               PRINT  S
END                  END
¶Ô¼×ÒÒÁ½³ÌÐòºÍÊä³ö½á¹ûÅжÏÕýÈ·µÄÊÇ


  1. A.
    ³ÌÐò²»Í¬£¬½á¹û²»Í¬
  2. B.
    ³ÌÐò²»Í¬£¬½á¹ûÏàͬ¡¡
  3. C.
    ³ÌÐòÏàͬ£¬½á¹û²»Í¬
  4. D.
    ³ÌÐòÏàͬ£¬½á¹ûÏàͬ

²é¿´´ð°¸ºÍ½âÎö>>

ͬ²½Á·Ï°²á´ð°¸