»ó´ã¹®ÀÇ

¤ý HOME > »ó´ã¹®ÀÇ > ÀϹݻó´ã
Á¦ ¸ñ [±ÞÁú]¾Æ½Ã´ÂºÐ ²ÀºÎʵå·Á~~
±Û¾´ÀÌ  ²ÀÇÕ°Ý!!! ÀÛ¼ºÀÏ 2004-11-08Á¶È¸¼ö 484
±Û°øÀ¯
°Ô½Ã±ÛÀ» twitter·Î º¸³»±â°Ô½Ã±ÛÀ» facebookÀ¸·Î º¸³»±â°Ô½Ã±ÛÀ» Me2Day·Î º¸³»±â°Ô½Ã±ÛÀ» ¿äÁòÀ¸·Î º¸³»±â
11¿ù4ÀÏ ¿ÀÈÄ 4¹ø ¹®Á¦¿©,,
¾Æ¹«¸®ºÁµµ ¸ð¸£°Ú¾î¿©..¤Ð.¤Ð

¹®Á¦ 4¡½

´ãÀÓÄڵ忡 µû¸¥ Á¡¼öÆ÷ÀÎÆ®

´ãÀÓÄÚµå
Á¡¼öÆ÷ÀÎÆ®

A
10

B
15

C
20


À§ÀÇ Ç¥¸¦ ÂüÁ¶ÇÏ¿© Áö¿ªÄڵ尡 BÀÎ ÀÚ·áÀÇ (±¹¾îÁ¡¼ö + Á¡¼öÆ÷ÀÎÆ®)°¡ 50 ÀÌ»óÀÎ ÀÚ·áÀÇ °Ç¼ö Ãâ·ÂÇϽÿÀ(30Á¡)

(¡Ø °á°ú °ªÀº ¼ö°ËÀÚ PCÀÇ C:\C_it\data\Ans4.txt ÆÄÀÏ¿¡ Ãâ·ÂµÇµµ·Ï ÇÁ·Î±×·¥À» ÀÛ¼ºÇÒ °Í)




È®Àδä¾È 1Â÷ (½ÇÁ¦ µ¥ÀÌÅ͸¦ »ç¿ëÇÑ ´ä¾È)


¹®Á¦ 4¡½ 100 200 21



----------------------------------------------------------------------

Option Explicit
Sub main()

''Çʼöº¯¼ö¼±¾ð
Dim Àμö1, Àμö2, i, ¹öÆÛ As Variant


''Çٽɺ¯¼ö¼±¾ð
Dim ´ãÀÓÄÚµå, Á¡¼öÆ÷ÀÎÆ®, Áö¿ªÄÚµå, ±¹¾îÁ¡¼ö, Num As Variant


''Àμöó¸®
Àμö1 = Val(Left(Command, InStr(Command, " ")))
Àμö2 = Val(Mid(Command, InStr(Command, " ")))


''ÀÔ·ÂÆÄÀÏó¸®
Open "c:\c_it\data\Abc1115.txt" For Input As #1
For i = 1 To Àμö2
Line Input #1, ¹öÆÛ
If i >= Àμö1 Then

''º¯¼öÀúÀå
´ãÀÓÄÚµå = Trim(Mid(¹öÆÛ, 29, 1))
Áö¿ªÄÚµå = Trim(Mid(¹öÆÛ, 31, 1))
±¹¾îÁ¡¼ö = Val(Mid(¹öÆÛ, 11, 3))

''ǥó¸®
Select Case ´ãÀÓÄÚµå
Case "A"
Á¡¼öÆ÷ÀÎÆ® = 10
Case "B"
Á¡¼öÆ÷ÀÎÆ® = 15
Case "C"
Á¡¼öÆ÷ÀÎÆ® = 20
End Select

End If
Next i

''Num±¸Çϱâ
If Áö¿ªÄÚµå = "B" And (±¹¾îÁ¡¼ö + Á¡¼öÆ÷ÀÎÆ®) >= 50 Then
Num = Num + 1
End If

Close #1


''Ãâ·ÂÆÄÀÏó¸®
Open "c:\c_it\data\ans4.txt" For Output As #2
Print #2, Àμö1, Àμö2, Num
Close #2

End Sub
´ñ±Û¾²±â :
ÀÌÀü±Û [±ÞÁú]¾Æ½Ã´ÂºÐ ²ÀºÎʵå·Á~~
´ÙÀ½±Û °¡»êÁ¡À» À§ÇÑ Á¤º¸Ã³¸®ÀÚ°ÝÁõ °­ÀÇ »çÀÌÆ®¸¦ ¿ÀÇÂÇÕ´Ï´Ù.
°í°´Áö¿ø¼¾ÅÍ

02-556-3650

ÆòÀÏ 9:00~18:00

ÀÏ¿äÀÏ °øÈÞÀÏ ÈÞ¹«

°èÁ¹øÈ£¾È³»

³óÇùÀºÇà 724-01-173541

±¹¹ÎÀºÇà 633601-04-044665

¿¹±ÝÁÖ (ÁÖ)Á¶ÀºÄ·ÇÁ

»óÈ£¸í : (ÁÖ)Á¶ÀºÄ·ÇÁ ¤Ó ´ëÇ¥ÀÌ»ç : ÀÌÀ¯¶ô ¤Ó ´ë±¸±¤¿ª½Ã ºÏ±¸ ´ëÇзÎ80 °æºÏ´ëÇб³ ITÀ¶ÇÕ»ê¾÷ºôµù 11Ãþ
»ç¾÷ÀÚ¹øÈ£ : 504-81-62507 ¤Ó º»»ç : 053-954-0030 ¤Ó ±â¼úÁö¿ø : 070-7019-1144 ¤Ó ÆÑ½º : 050-7711-2200 ¤Ó 
¿ø°ÝÆò»ý±³À°½Ã¼³13È£ ¤Ó ÃâÆÇ»ç : 345-2005-00013 ¤Ó Åë½ÅÆÇ¸Å¾÷ : 2005-´ë±¸ºÏ±¸-00158 ¤Ó Á¤º¸º¸È£Ã¥ÀÓÀÚ : ±è⿬  
±â»çÄ£±¸´Â SSLº¸¾È¹æ½ÄÀÇ ¾Ïȣȭ±¸°£À» Àû¿ëÇÏ¿© »çÀÌÆ®¸¦ ¾ÈÀüÇÏ°Ô ÀÌ¿ëÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
COPYRIGHT 2005 (ÁÖ)Á¶ÀºÄ·ÇÁ ALL RIGHTS RESERVED.°ü¸®ÀÚ¿¡°Ô ¸ÞÀϺ¸³»±â