ÇÁ·Î±×·¡¹Ö

 3206, 154/161 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   ¼þ¾Æ
   ÇÔ¼ö ¼±¾ð¹× Á¤ÀÇ °ü·Ã Áú¹®ÀÌ¿ä

http://www.hackerschool.org/HS_Boards/zboard.php?id=QNA_programming&no=1825 [º¹»ç]


ÀÏ´Ü ¼Ò½º´Â

#include <stdio.h>
void intro()
int input()
int maximum (int input1, int input2, int input3)
int minimum (int input1, int input2, int input3)
int main ()
{
        int input1,input2,input3, maximum1, minimum1;

        intro();
        input1=input(int a);
        input2=input(int a);
        input3=input(int a);
        
        maximun1=int maximum(input1, input2, input3);
        minimum1=int minimum(input1, input2, input3);
        end();
        
        return 0;
}

void intro ()
{
        printf("¼¼°³ÀÇ Á¤¼ö¸¦ ÀÔ·ÂÇϼ¼¿ä");
}
int input()
{
        int a;
        scnaf("%d", &a);
        return a;
}
int maximum (int input1, int input2, int input3)
{
        if(input1>input2 && input1>input3)
         return input1;
        else if(input2>input1 && input2>input3)
         return input2;
        else(input3>input1 && input3>input2)
         return input2;
}
int minimum (int input1, int input2, int input3)
{
        if(input1<inpup2 && input1<input3)
         return input1;
        else if(input2<input1 && input2<input3)
         return input2;
        else (input3<input1 && input3<input2)
         return input3;
}
void end (void)
{
        printf("maximum: %d, minimum: %d", maximum1, minimum1);
}


ÀÔ´Ï´Ù. (»ç¿ëÀڷκÎÅÍ Á¤¼ö 3°³¸¦ ÀԷ¹޾Ƽ­ ÃÖ°í°ª°ú ÃÖÇÏ°ªÀ» Ãâ·ÂÇÏ´ÂÇÁ·Î±×·¥ÀÔ´Ï´Ù.)

³Ê¹« ÇãÁ¢ÇÏÁÒ..;;

óÀ½À¸·Î ÇÔ¼ö¼±¾ð°ú Á¤ÀǸ¦ Çϴ°Ŷ󼭿ä.

¿©±â¼­ ÄÄÆÄÀÏÇϸé ÀÌ·¯ÇÑ ¿À·ù°¡ ¶å´Ï´Ù.
problem9-1_1.c: In function ¡®intro¡¯:
problem9-1_1.c:4: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®int¡¯
problem9-1_1.c:23: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®{¡¯ token
problem9-1_1.c:27: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®{¡¯ token
problem9-1_1.c:33: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®{¡¯ token
problem9-1_1.c:42: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®{¡¯ token
problem9-1_1.c:51: error: expected ¡®=¡¯, ¡®,¡¯, ¡®;¡¯, ¡®asm¡¯ or ¡®__attribute__¡¯ before ¡®{¡¯ token
problem9-1_1.c:53: error: expected ¡®{¡¯ at end of input

¿ÖÀÌ·±°ÅÁÒ???

Àú·Î¼± µµÀúÈ÷ ¸ð¸£°Ú½À´Ï´Ù. (½ºÅ©·ÑÀǾйÚÀÌ..)

  Hit : 6211     Date : 2009/01/14 09:35



    
146   win 32 api ·Î ¹ÂÁ÷Ç÷¹ÀÌ¾î ¸¸µé±â     khfs200
05/25 6056
145   cp¸í·É¾î ±¸ÇöÁßÀä À߸øµÈÁ¡Á» ÁöÀûÇØÁÖ¼¼¿ä[1]     hehesk
09/16 6058
144   µð¹ö±ëÀ̶õ? ½ßÃʺ¸¶ó ¤Ð¤Ð [3]     milkily
10/12 6058
143   ÄÄÇ»ÅÍ ÇÁ·Î±×·¡¸Ó ÀÚ°ÝÁõ ¸»Àä[6]     gkswls123
03/12 6074
142   [VC] Help -> Index -> MSDNÄ÷º¼ÇÀÌ ¾ø½À´Ï´Ù.     ¿µ¿øÇÑ°øºÎ
07/02 6079
141   c¾ð¾î ±¸Á¶Ã¼ ¹è¿­ Æ÷ÀÎÅÍ·Î ÇÔ¼ö·Î Àü´ÞÇϴµ¥...[3]     my10045139
12/13 6106
140   [PHP] <¼¼¼Ç À¯Áö> ¿¡ ´ëÇÑ Áú¹®ÀÔ´Ï´Ù..[5]     U_SoRang
05/07 6134
139   [¾î¼À]eax, ebx ·¹Áö½ºÅÍÀÇ ±Ùº»Àû Â÷ÀÌÁ¡ÀÌ ¹º°¡¿ä??[3]     qudtkadnjs
01/22 6141
138     [re] lseek¿¡ °üÇÑ Áú¹®ÀÔ´Ï´Ù~     indra
10/13 6149
137   scanf? scanf_s?[3]     jjh92kor
06/15 6150
136   ºÒ¹ýÀÎÁö ¾Ë·ÁÁÖ¼¼¿ä     sdaemin
09/05 6158
135   ½Ã°£ Ãâ·Â¾îÄÉ Çϳª¿ä?[C¾ð¾î][4]     maby258
06/27 6165
134   ¼ÒÄÏÇÁ·Î±×·¡¹Ö - recvfrom À̳ª sendto ÇÔ¼öÀÇ Æ¯Â¡[2]     chamchi
09/18 6171
133   VB.NET ÅؽºÆ®¹Ú½º -> ±¸±Û °Ë»ö ÇÑ±Û ±úÁü Çö»ó     yuriyuri92
03/28 6185
132   C ¾ð¾î¸¦ ¹è¿ì´Âµ¥¿ä..¤Ì¤Ì[3]     nanaya
09/07 6196
  ÇÔ¼ö ¼±¾ð¹× Á¤ÀÇ °ü·Ã Áú¹®ÀÌ¿ä     ¼þ¾Æ
01/14 6210
130   cmd Áú¹®...[9]     jsw0441
09/07 6224
129   [C¾ð¾î] scanfÇÔ¼ö¿Í getsÇÔ¼ö¿¡¼­ \n¹®ÀÚ Áú¹®ÀÌ¿ä.[2]     ¿µ¿øÇÑ°øºÎ
05/25 6224
128   [ÀڷᱸÁ¶]±×·¡ÇÁ ÀÓ°è°æ·Î¿¡ °ü·ÃµÈ °³³äÀû Áú¹®     ksbgenius
06/08 6235
127   ÆíÀÇÁ¡ ¹°Ç° Ãß°¡/»èÁ¦/¼öÁ¤/ÆǸŵî·Ï ¸¸µå´ÂÁßÀε¥.... ÆǸſ¡¼­ ¸·È÷³×¿ä ..[1]     SKTCTO
04/14 6292
[1]..[151][152][153] 154 [155][156][157][158][159][160]..[161]

Copyright 1999-2024 Zeroboard / skin by Hackerschool.org / Secure Patch by Hackerschool.org