ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©ó¤T°j°éªº¥Îªk¤£ª¾¬O§_¿ù»~¡A·PÁ¤j¤j­Ìªº«ü¾É¡C(¥H¸Ñ¨M¡A·PÁÂH¤j¡AG¤jÁÂÁ§A)

[µo°Ý] Ãö©ó¤T°j°éªº¥Îªk¤£ª¾¬O§_¿ù»~¡A·PÁ¤j¤j­Ìªº«ü¾É¡C(¥H¸Ñ¨M¡A·PÁÂH¤j¡AG¤jÁÂÁ§A)

¥»©«³Ì«á¥Ñ av8d ©ó 2011-9-11 02:41 ½s¿è

For i = 8 To 13
        For j = 2 To 7
            arr = Array(1, 10, 50, 100, 500, 1000)
            For k = 0 To 5
            A(i) = A(j) * arr(k)
            Next k
        Next j
    Next i

¥H¤W°j°é¶]¥X¨Óªºµ²ªG·|¬O³o¼Ë¶Ü?(¦p¤U)
A(8) = A(2) * 1
A(9) = A(3) * 10
A(10) = A(4) * 50
A(11) = A(5) * 100
A(12) = A(6) * 500
A(13) = A(7) * 1000

¥i¬O¹Bºâ¥X¨Óªºµ²ªG«o¬O(¦p¤U)
§ÚªºA(2)=0·Ó¹D²zA(8)­nµ¥©ó0
¥i¬O§ÚªºA(8)«oµ¥©ó3000
¤£ª¾¹D¬O­þ¸Ì¥X¤F°ÝÃD¡A¦A¦¸·PÁ¼ö¤ß§U¤Hªº¤j¤j­Ì¡C

¦^´_ 1# av8d


    For j = 8 To 13
    arr = Array(1, 10, 50, 100, 500, 1000)
    For k = 0 To 5
       A(j) = A(k + 2) * arr(k)
    Next k
Next j
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ av8d ©ó 2011-9-10 13:28 ½s¿è

¦^´_ 2# Hsieh

¦¨¥\¤F~(¦p¤U)
     j = 2
    k = 0
    For i = 8 To 13
            Ar = Array(1, 10, 50, 100, 500, 1000)
            A(i) = A(j) * Ar(k)
            j = j + 1
            k = k + 1
    Next i
·PÁÂ~

TOP

¦^´_ 3# av8d
  1. Ar = Array(1, 10, 50, 100, 500, 1000)
  2. For i = 8 To 13
  3.     A(i) = A(i - 6) * Ar(i - 8)
  4. Next
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ­ì½Ì§O¤H´N¬Oµ½«Ý¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD