ÀÌ¿ë¾È³»|

°í°´¼¾ÅÍ

  Àå¹Ù±¸´Ï| ¸¶ÀÌÆäÀÌÁö| ij½¬ÃæÀü|
¹®¼­/¼­½Ä
¤ý°Ç¼³¼­½Ä
¤ý±³À°¼­½Ä
¤ý±ÝÀ¶¼­½Ä
¤ý¹Î¿øÇàÁ¤¼­½Ä
¤ý¹ý·ü¼­½Ä
¤ý»ç¾÷°èȹ¼­
¤ý»ýÈ°¼­½Ä
¤ý¼¼¹«È¸°è¼­½Ä
¤ý¿µ¹®¼­½Ä
¤ýȸ»ç¼­½Ä
¤ýÁ¦·Ê¼­½Ä
¤ý±âŸ¼­½Ä
¤ý¿¹¹®°ü·Ã¼­½Ä
·¹Æ÷Æ®
¤ý°æ¿µ/°æÁ¦
¤ý°øÇÐ/±â¼ú
¤ýÀι®/¾îÇÐ
¤ý»ýÈ°/ȯ°æ
¤ý»çȸ°úÇÐ
¤ýÀÚ¿¬°úÇÐ
¤ý³ó/¼ö»êÇÐ
¤ýÀÇ/¾àÇÐ
¤ýµ¶ÈÄ°¨
¤ý·¹Æ÷ƮǥÁö
ÃÊÁß°í±âÃâ/¼÷Á¦
¤ýÃʵî±âÃâ/ÇнÀÀÚ·á
¤ýÁßµî±âÃâ/ÇнÀÀÚ·á
¤ý°íµî±âÃâ/ÇнÀÀÚ·á
¤ý¼÷Á¦ÀÚ·á
¤ý±âŸÇнÀÀÚ·á
³í¹®/Àü¹®/¹æÅë´ë
¤ý³í¹®
¤ýÀü¹®ÀÚ·á
¤ý¿ø¼­¹ø¿ª
¤ý¹æ¼ÛÅë½Å´ë
±âŸ°øºÎÀÚ·á
¤ý¹æ¼ÛÅë½Å´ë
¤ý°­ÀÇÀÚ·á/Á·º¸
¤ý¿µ¾î°øºÎ(ÅäÀÍ,ȸȭ,´Ü¾î)
¤ý±¹°¡°í½Ã/ÀÚ°ÝÁõ
¤ýÆíÀÔÇÐ,ÀϺ»¾î,Áß±¹¾î
¹ý·É/ÈÆ·É/Á¶·Ê
¤ý°ü°è¹ý·É¸ðÀ½
°øÇÐ/±â¼ú Àαâ¼øÀ§
¡Østack °è»ê±â...
¼ºÀΰ£È£ÇÐ]]]]]
ÀÚµ¿Â÷ÀÇ Á¾·ù
ÄÜÅ©¸®Æ®Àǽ½·³ÇÁ...
PCÄÄÇ»ÅÍÀÇ¿ª»ç
¾Ö´Ï¸ÞÀ̼ÇÀ̶õ
³ªÀÏ·ÐÀÇÇÕ¼º
»ö»óÇ¥
ÇÁ¶ûÅ©·ÎÀ̵å
±×¸®µå½Ã½ºÅÛ
°øÁö»çÇ×ÀÌ ¾ø½À´Ï´Ù.
ÁýÇÕc¾ð¾î ÇÁ·Î±×·¡¹Ö
ÆÄÀϸí ÁýÇÕc¾ð¾î ÇÁ·Î±×·¡¹Ö.hwp °ü·Ã ºä¾î ´Ù¿î·Îµå
ºÐ·ù ·¹Æ÷Æ® > °øÇÐ/±â¼ú
°¡°Ý 1,000¿ø ÆäÀÌÁö 0ÆäÀÌÁö
µî·ÏÀÏ 2012³â 06¿ù 14ÀÏ ÆǸÅÀÚ leewk2547
±¸¸Å 0°Ç Á¶È¸¼ö 460ȸ
ÀÚ·á¹øÈ£ #0192253 ÆÄÀÏÅ©±â 185.0KB
Å°¿öµå :
¼Ò°³±Û ÁýÇÕc¾ð¾î ÇÁ·Î±×·¡¹Ö
¿ä¾à #include
#include

void inputele(int set[],int set2[],int set3[]); //ÁýÇÕÀÇ ÀÔ·ÂÇÔ¼ö ¼±¾ð
void ascending(int set[],int num); //ÁýÇÕÀÇ ¿À¸§Â÷¼øÇÔ¼ö ¼±¾ð
void overlap(int set[],int num);//ÁýÇÕÀÇ Áߺ¹¿ø¼ÒÁ¦°ÅÇÔ¼ö ¼±¾ð
void outputele(int set[],int num); //ÁýÇÕÀÇ Ãâ·ÂÇÔ¼ö ¼±¾ð

int main()
{
int set[20] = {0}; //set2¿Í set3ÀÇ ÇÕ,±³,Â÷ÁýÇÕµîÀ» ±¸ÇÏ°í ÀúÀåµÇ´Â °ø°£
int set2[10] = {0}; //ÁýÇÕ1ÀÌ ÀúÀåµÇ´Â °ø°£
int set3[10] = {0}; //ÁýÇÕ3°¡ ÀúÀåµÇ´Â °ø°£
int input; //¾î¶² ÁýÇÕÀ» ±¸ÇÒÁö ¼±ÅÃÇϱâÀ§ÇÑ º¯¼ö¼±¾ð
int i,j,num; // for¹® »ç¿ëÇÒ¶§ ÇÊ¿äÇÑ º¯¼ö¼±¾ð


while(1)
{
printf("¼±ÅÃÇϼ¼¿ä - 1.ÇÕÁýÇÕ ±¸Çϱâ 2.±³ÁýÇÕ±¸Çϱâ 3.Â÷ÁýÇÕ±¸Çϱâ 4.Á¾·á : n");
scanf("%d",&input);

switch(input)
{
case 1: //ÇÕÁýÇÕÀ» ¼±ÅÃÇÑ °æ¿ì

num = 10;
inputele(set,set2,set3); //ÁýÇÕÀÇ ÀÔ·ÂÇÔ¼ö È£ÃâÇØ ÁýÇÕ1°ú ÁýÇÕ2¸¦ ÀԷ¹ÞÀ½
for(i=0;i<10;i++){

set[i]=set2[i]; //ÁýÇÕ1¸¦ set[0]~set[9]¿¡ ¼ø¼­´ë·Î ÀúÀå
}
for(i=0;i<10;i++)
{
for(j=0;j<10;j++)
if(set2[j]==set3[i])
//ÁýÇÕ1°ú ÁýÇÕ2ÀÇ ¿ø¼ÒÁß Áߺ¹µÇ´Â°ÔÀÖÀ½ ¸ØÃß°í ±×·¸Áö ¾ÊÀ¸¸é °è¼ÓÁøÇà
break;
if(j>=10)
set[num++]=set3[i]; //À§ if¹®ÀÌ °ÅÁþÀÏ °æ¿ì j

 
µî·ÏµÈ »óÇ°ÆòÀÌ ¾ø½À´Ï´Ù.

À§ Á¤º¸¹× °Ô½Ã¹° ³»¿ëÀÇ Áø½Ç¼º¿¡ ´ëÇÏ¿© º¸ÁõÇÏÁö ¾Æ´ÏÇϸç, ÇØ´ç Á¤º¸ ¹× °Ô½Ã¹° ÀúÀ۱ǰú ±âŸ ¹ýÀû Ã¥ÀÓÀº ÀÚ·á µî·ÏÀÚ¿¡°Ô ÀÖ½À´Ï´Ù.
À§ Á¤º¸¹× °Ô½Ã¹° ³»¿ëÀÇ ºÒ¹ýÀû ÀÌ¿ë, ¹«´ÜÀüÀç¹× ¹èÆ÷´Â ±ÝÁöµÇ¾î ÀÖ½À´Ï´Ù.
ÀúÀÛ±ÇħÇØ, ¸í¿¹ÈÑ¼Õ µî ºÐÀï¿ä¼Ò ¹ß°ß½Ã ÇÏ´ÜÀÇ ÀúÀÛ±Ç Ä§ÇØ½Å°í¸¦ ÀÌ¿ëÇØ Áֽñ⠹ٶø´Ï´Ù.
ȸ»ç¼Ò°³ | °³ÀÎÁ¤º¸Ãë±Þ¹æħ | ȸ¿ø¾à°ü | °í°´Áö¿ø¼¾ÅÍ | ÀúÀÛ±Ç Ä§ÇؽŰí | Á¦ÈÞ ¹× ±¤°í¹®ÀÇ   
(ÁÖ)¹ÌÅ÷¾Ø³ëº§´ëÇ¥ÀÌ»ç : Á¤ÇöÁØ°³ÀÎÁ¤º¸Ã¥ÀÓÀÚ : Á¤ÇöÁØ
º»»ç : °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ ¼º³²´ë·Î331¹ø±æ 8, 15Ãþ 1502È£ (Á¤ÀÚµ¿, Ų½ºÅ¸¿ö)
»ç¾÷ÀÚµî·Ï¹øÈ£ : 272-81-00259Åë½ÅÆǸž÷½Å°í : Á¦2017-¼º³²ºÐ´ç-1125È£
´ëÇ¥ÀüÈ­ : 
1644-9259Æѽº : 031-724-2601help@me.co.kr