1588, 73/80 ȸ¿ø°¡ÀÔ  ·Î±×ÀΠ 
   festal
   [Æß] ½Ã°£´ëº° Àλç

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


#include <stdio.h>

int main()
{
    int time;
    
    printf("½Ã°£À» ÀÔ·ÂÇϼ¼¿ä(0~24)? ");
    scanf("%d", &time); //½Ã°£´ë¸¦ ÀԷ¹ްí
    
    if((time>=0) && (time<12)) //0 ½ÃºÎÅÍ 11 ½Ã±îÁö°æ¿ì
    printf("Good morning!\n");
    else if((time>=12) && (time<18)) //12½ÃºÎÅÍ 17½Ã ±îÁö
    printf("good afternoon!\n");  
    else if((time>=18) && (time<=24)) //18~24
    printf("good evening!\n");
    
    else
    printf("time is out of range!\n"); //±×ÀÌ¿ÜÀÇ ½Ã°£À» ÀԷ¹ÞÀ¸¸é
    
    getchar();
    return 0;
}
    

  Hit : 8886     Date : 2015/09/24 01:28



    
148   ³×Æ®¿öÅ©»óÀÇ »çÀÌÆ® À¯µµ     festal
09/20 8706
147   ÇØÄ¿½ºÄð F.T.Z     festal
09/20 8048
146   ¸®´ª½º °ü·ÃÁú¹® [1]     festal
09/20 7572
145   Ä®¸®¸®´ª½º À¥ÇØÅ· ÀßÇϴºР     festal
09/24 9147
144   ¸®¹ö½º ¿£Áö´Ï¾î¸µ [1]     festal
09/24 8405
143 ºñ¹Ð±ÛÀÔ´Ï´Ù  Å×ÀÏÁî·±³Ê ÇØÅ· »ç°Ç     festal
09/24 0
142   C++ if else ÀÀ¿ë [2]     festal
09/24 8655
141   [Æß]C++ ¾ð¾î¸¦ ÀÌ¿ëÇÑ ¹ÙÀ̳ʸ® ¼Ò½º     festal
09/24 7674
140   [Æß]C++ switchÇÔ¼ö¸¦ ÀÌ¿ëÇÑ ´ëÇб³µî·Ï±Ý È®ÀÎÇÁ·Î±×·¥[1]     festal
09/24 8088
  [Æß] ½Ã°£´ëº° Àλ砠   festal
09/24 8885
138   ÇØÅ· ÇϱâÀü ÇʼöÀûÀÎ °ú¸ñ[2]     festal
09/24 8619
137   ÇØÅ· ÆÀ ¸ðÁý[´ëȸ,º´Æ¯,Ãë¾÷][4]     younglose
10/03 9151
136   »ó¼Ó, ¿À¹ö¶óÀ̵ù, ´ÙÁß»ó¼Ó     tmdrbs9021
10/13 10012
135   [Æß]C Language (swap)[1]     lackhole
10/17 7985
134   ¸®´ª½º[LAMP] À» ¼³¸íÇØÁÖ´Â »çÀÌÆ®ÀÔ´Ï´Ù.[1]     linuxiyka
11/07 9499
133   ÇØÅ· °ü·Ã »çÀÌÆ® ¸ñ·ÏÀÔ´Ï´Ù.[12]     wlwjsan
11/09 25261
132   Ä®¸®¸®´ª½º Æ©Å丮¾ó[4]     skahdi12
12/21 8117
131   ·¹º§¾÷À» À§ÇÑ ½ÃÇè[6]     skahdi12
12/21 8728
130   ¹öÆÛ¿À¹öÇÃ·Î¿ì ¿Õ±âÃÊÆí pdf ÆÄÀÏ ¾îµð¼­ ±¸ÇÒ ¼ö ÀÖ³ª¿ä?     duduwon
02/08 10351
129   ÇØÄ¿½ºÄð °¡ÀÔÇÑ »ç¶÷ÀÔ´Ï´Ù[1]     wldud
02/19 8582
[1]..[71][72] 73 [74][75][76][77][78][79][80]

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