- ©«¤l
- 7
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 60
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2016-6-2
- ³Ì«áµn¿ý
- 2022-5-1
|
[µo°Ý] ½Ð±Ð¤â°Ê¿é¤Jªº3ºû°}¦C,¦p¦ó±N¼ÆȱƦC?
§Ú¹ï°}¦C¼gªk¨SÔ£·§©À.
¦pªGn¥HVBAªí¹F(«D¼g¶iÀx¦s®æ¤è¦¡),
1.¥Ñ¤j¨ì¤p±Æ¦C3Ӿǥͪº²Ä2ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ,½Ð±Ð¸Ó¤Þ¥ÎþºØ¨ç¼Æ?
2.Score(2, 1, 1)¯à¤£¯àª½±µ¥ÑScore(1, 1, 1)¼g¤J¨ìScore(3, 1, 1)? ¦ÓScore(0, 0, 0)ª½±µ¸õ¹L.
·PÁ¦U¦ì
Sub test()
Dim Score(2, 1, 1) As Byte
Score(0, 0, 0) = InputBox("½Ð¿é¤J²Ä1¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(0, 0, 1) = InputBox("½Ð¿é¤J²Ä1¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
Score(0, 1, 0) = InputBox("½Ð¿é¤J²Ä1¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(0, 1, 1) = InputBox("½Ð¿é¤J²Ä1¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
Score(1, 0, 0) = InputBox("½Ð¿é¤J²Ä2¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(1, 0, 1) = InputBox("½Ð¿é¤J²Ä2¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
Score(1, 1, 0) = InputBox("½Ð¿é¤J²Ä2¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(1, 1, 1) = InputBox("½Ð¿é¤J²Ä2¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
Score(2, 0, 0) = InputBox("½Ð¿é¤J²Ä3¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(2, 0, 1) = InputBox("½Ð¿é¤J²Ä3¦ì¾Ç¥Í²Ä1ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
Score(2, 1, 0) = InputBox("½Ð¿é¤J²Ä3¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä1¬ì¥Ø¦¨ÁZ¡G")
Score(2, 1, 1) = InputBox("½Ð¿é¤J²Ä3¦ì¾Ç¥Í²Ä2ӾǴÁªº²Ä2¬ì¥Ø¦¨ÁZ¡G")
MsgBox Score(0, 1, 1) & "," & Score(1, 1, 1) & "," & Score(2, 1, 1)
End Sub |
|