일단 동까지 추가하게된이유는
친구갘ㅋㅋㅋㅋ 동까지 추가하면 형이라 불러준다는게 발단이였습니다.ㅋㅋㅋ
과연 해줄련지 모르겠네요 ㅋㅋㅋㅋㅋ
이제부터 소스가 되겠습니다.ㅋㅋㅋㅋㅋ 더럽게 깁니다.
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include <conio.h>
#include <windows.h>
int main(void)
{
char ch;
do
{
printf("복불복을 시작하지 아무키나 눌러주게나\n");
getch();
printf("전국 복불복 : ");
int b;
srand((unsigned)time(NULL));
b=rand()%16;
char*a[]={"서울\n","경기도\n","강원도\n","인천\n","충청북도\n","충청남도\n","대전\n",
"경상남도\n","경상북도\n","대구\n","부산\n","울산\n","전라남도\n",
"전라북도\n","광주\n","제주도\n"};
printf("%s",a[b]);
if(a[b]==a[0])
{
printf("서울임.. ㅃㅃ(계속할려면 아무키나 눌러주게나)\n");
getch();
printf("서울 복불복 : ");
int b1;
srand((unsigned)time(NULL));
b1=rand()%24+0;
char*a1[]={"광진구\n", "동대문구\n", "중랑구\n", "용산구\n", "성동구\n",
"강북구\n", "도봉구\n", "노원구\n", "은평구\n", "서대문구\n",
"마포구\n", "양천구\n", "강서구\n", "구로구\n", "금천구\n",
"영등포구\n", "동작구\n", "관악구\n", "서초구\n", "강남구\n",
"송파구\n", "강동구\n", "종로구\n", "중구\n", "성북구\n"};
printf("%s",a1[b1]);
if(a1[b1]==a1[0])
{
printf("광진구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("광진구 복불복 : ");
int ba1;
srand((unsigned)time(NULL));
ba1=rand()%18+0;
char*aa1[]={"중곡동\n", "능동\n", "구의동\n", "광장동\n", "자양동\n",
"화양동\n", "군자동\n", "중곡1동\n", "중곡2동\n", "중곡3동\n",
"중곡4동\n", "자양1동\n", "자양2동\n", "자양3동\n", "자양4동\n",
"구의1동\n", "구의2동\n", "구의3동\n"};
printf("%s",aa1[ba1]);
}
else if(a1[b1]=a1[1])
{
printf("동대문구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("동대문구 복불복 : ");
int ba2;
srand((unsigned)time(NULL));
ba2=rand()%20+0;
char*aa2[]={"신설동\n", "용두동\n", "제기동\n", "전농동\n", "답십리동\n",
"장안동\n", "청량리동\n", "회기동\n", "휘경동\n", "이문동\n",
"용신동\n", "전농1동\n", "전농2동\n", "답십리1동\n", "답십리2동\n",
"장안1동\n", "장안2동\n", "휘경1동\n","휘경2동\n", "이문1동\n",
"이문2동\n"};
printf("%s",aa2[ba2]);
}
else if(a1[b1]=a1[2])
{
printf("중랑구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("중랑구 복불복 : ");
int ba3;
srand((unsigned)time(NULL));
ba3=rand()%21+0;
char*aa3[]={"면목동\n", "상봉동\n", "중화동\n", "묵동\n", "망우동\n",
"신내동\n", "면목2동\n", "면목4동\n", "면목5동\n", "면목본동\n",
"면목7동\n", "면목3.8동\n", "상봉1동\n", "상봉2동\n", "중화1동\n",
"중화2동\n", "묵1동\n", "묵2동\n", "망우본동\n", "망우3동\n",
"신내1동\n", "신내2동\n"};
printf("%s",aa3[ba3]);
}
else if(a1[b1]=a1[3])
{
printf("용산구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("용산구 복불복 : ");
int ba4;
srand((unsigned)time(NULL));
ba4=rand()%44+0;
char*aa4[]={"후암동\n", "용산동2가\n", "용산동4가\n", "갈월동\n", "남영동\n",
"용산동1가\n", "동자동\n", "서계동\n", "청파동1가\n", "청파동2가\n",
"청파동3가\n", "원효로1가\n", "원효로2가\n", "신창동\n", "산천동\n",
"청암동\n", "원효로3가\n", "원효로4가\n", "효창동\n", "도원동\n",
"용문동\n", "문배동\n", "신계동\n", "한강로1가\n", "한강로2가\n",
"용산동3가\n", "용산동5가\n", "한강로3가\n", "이촌동\n", "이태원동\n",
"한남동\n", "동빙고동\n", "서빙고동\n", "주성동\n", "용산동6가\n",
"보광동\n", "용산2가동\n", "청파동\n", "원효로1동\n", "원효로2동\n",
"한강로동\n", "이촌1동\n", "이촌2동\n", "이태원1동\n", "이태원2동\n"};
printf("%s",aa4[ba4]);
}
else if(a1[b1]=a1[4])
{
printf("성동구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("성동구 복불복 : ");
int ba5;
srand((unsigned)time(NULL));
ba5=rand()%27+0;
char*aa5[]={"상왕십리동\n","하왕십리동\n","홍익동\n","도선동\n","마장동\n",
"사근동\n","행당동\n","응봉동\n","금호동1가\n","금호동2가\n",
"금호동3가\n","금호동4가\n","옥수동\n","성수동1가\n","성수동2가\n",
"송정동\n","용답동\n","왕십리2동\n","왕십리도선동\n","행당1동\n",
"행당2동\n","금호1가동\n","금호2.3가동\n","금호4가동\n","성수1가1동\n",
"성수1가2동\n","성수2가1동\n","성수2가3동\n"};
printf("%s",aa5[ba5]);
}
else if(a1[b1]=a1[5])
{
printf("강북구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("강북구 복불복 : ");
int ba6;
srand((unsigned)time(NULL));
ba6=rand()%14+0;
char*aa6[]={"미아동\n","번동\n","수유동\n","우이동\n","삼양동\n",
"송중동\n","송천동\n","삼각산동\n","번1동\n","번2동\n",
"번3동\n","수유1동\n","수유2동\n","수유3동\n","인수동\n"};
printf("%s",aa6[ba6]);
}
else if(a1[b1]=a1[6])
{
printf("도봉구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("도봉구 복불복 : ");
int ba7;
srand((unsigned)time(NULL));
ba7=rand()%17+0;
char*aa7[]={"쌍문동\n","방학동\n","창동\n","도봉동\n","창1동\n",
"창2동\n","창3동\n","창4동\n","창5동\n","도봉1동\n",
"쌍문1동\n","쌍문2동\n","쌍문3동\n","쌍문4동\n",
"방학1동\n","방학2동\n","방학3동\n"};
printf("%s",aa7[ba7]);
}
else if(a1[b1]=a1[7])
{
printf("노원구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("노원구 복불복 : ");
int ba8;
srand((unsigned)time(NULL));
ba8=rand()%23+0;
char*aa8[]={"월계동\n","공릉동\n","하계동\n","상계동\n","중계동\n",
"월계1동\n","월계2동\n","월계3동\n","공릉1동\n","공릉2동\n",
"하계1동\n","하계2동\n","중계본동\n","중계1동\n","중계4동\n",
"중계2.3동\n","상계1동\n","상계2동\n","상계3.4동\n","상계5동\n",
"상계6.7동\n","상계8동\n","상계9동\n","상계10동\n"};
printf("%s",aa8[ba8]);
}
else if(a1[b1]=a1[8])
{
printf("은평구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("은평구 복불복 : ");
int ba9;
srand((unsigned)time(NULL));
ba9=rand()%19+0;
char*aa9[]={"수색동\n","녹번동\n","불광동\n","갈현동\n","구산동\n",
"대조동\n","응암동\n","역촌동\n","신사동\n","증산동\n",
"진관동\n","불광1동\n","불광2동\n","갈현1동\n","갈현2동\n",
"응암1동\n","응암2동\n","응암3동\n","신사1동\n","신사2동\n"};
printf("%s",aa9[ba9]);
}
else if(a1[b1]=a1[9])
{
printf("서대문구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("서대문구 복불복 : ");
int ba10;
srand((unsigned)time(NULL));
ba10=rand()%29+0;
char*aa10[]={"충정로2가\n","충정로3가\n","합동\n","미근동\n","냉천동\n",
"천연동\n","옥천동\n","영천동\n","현저동\n","북아현동\n",
"홍제동\n","대현동\n","대신동\n","신촌동\n","봉원동\n",
"창천동\n","연희동\n","홍은동\n","북가좌동\n","남가좌동\n",
"충현동\n","홍제1동\n","홍제3동\n","홍제2동\n","홍은1동\n",
"홍은2동\n","남가좌1동\n","남가좌2동\n","북가좌1동\n","북가좌2동\n"};
printf("%s",aa10[ba10]);
}
else if(a1[b1]=a1[10])
{
printf("마포구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("마포구 복불복 : ");
int ba11;
srand((unsigned)time(NULL));
ba11=rand()%30+0;
char*aa11[]={"아현동\n","공덕동\n","신공덕동\n","도화동\n","용강동\n",
"토정동\n","마포동\n","대흥동\n","염리동\n","노고산동\n",
"신수동\n","현석동\n","구수동\n","창전동\n","상수동\n",
"하중동\n","신정동\n","당인동\n","서교동\n","동교동\n",
"합정동\n","망원동\n","연남동\n","성산동\n","중동\n",
"상암동\n","서강동\n","망원1동\n","망원2동\n","성산1동\n",
"성산2동\n"};
printf("%s",aa11[ba11]);
}
else if(a1[b1]=a1[11])
{
printf("양천구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("양천구 복불복 : ");
int ba12;
srand((unsigned)time(NULL));
ba12=rand()%20+0;
char*aa12[]={"신정동\n","목동\n","신월동\n","목1동\n","목2동\n",
"목3동\n","목4동\n","목5동\n","신월1동\n","신월2동\n",
"신월3동\n","신월4동\n","신월5동\n","신월6동\n","신월7동\n",
"신정1동\n","신정2동\n","신정3동\n","신정4동\n","신정6동\n",
"신정7동\n"};
printf("%s",aa12[ba12]);
}
else if(a1[b1]=a1[12])
{
printf("강서구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("강서구 복불복 : ");
int ba13;
srand((unsigned)time(NULL));
ba13=rand()%30+0;
char*aa13[]={"염창동\n","등촌동\n","화곡동\n","가양동\n","마곡동\n",
"내발산동\n","외발산동\n","공항동\n","방화동\n","개화동\n",
"과해동\n","오곡동\n","오쇠동\n","등촌1동\n","등촌2동\n",
"등촌3동\n","화곡1동\n","화곡2동\n","화곡3동\n","화곡4동\n",
"화곡본동\n","화곡6동\n","화곡8동\n","가양1동\n","가양2동\n",
"가양3동\n","발산1동\n","우장산동\n","방화1동\n","방화2동\n",
"방화3동\n"};
printf("%s",aa13[ba13]);
}
else if(a1[b1]=a1[13])
{
printf("구로구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("구로구 복불복 : ");
int ba14;
srand((unsigned)time(NULL));
ba14=rand()%22+0;
char*aa14[]={"신도림동\n","구로동\n","가리봉동\n","고척동\n","개봉동\n",
"오류동\n","궁동\n","온수동\n","천왕동\n","항동\n",
"구로1동\n","구로2동\n","구로3동\n","구로4동\n","구로5동\n",
"고척1동\n","고척2동\n","개봉1동\n","개봉2동\n","개봉3동\n",
"오류1동\n","오류2동\n","수궁동\n"};
printf("%s",aa14[ba14]);
}
else if(a1[b1]=a1[14])
{
printf("금천구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("금천구 복불복 : ");
int ba15;
srand((unsigned)time(NULL));
ba15=rand()%11+0;
char*aa15[]={"가산동\n","독산동\n","시흥동\n","독산1동\n","독산2동\n",
"독산3동\n","독산4동\n","시흥1동\n","시흥2동\n","시흥3동\n",
"시흥4동\n","시흥5동\n"};
printf("%s",aa15[ba15]);
}
else if(a1[b1]=a1[15])
{
printf("영등포구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("영등포구 복불복 : ");
int ba16;
srand((unsigned)time(NULL));
ba16=rand()%49+0;
char*aa16[]={"영등포동\n","영등포동1가\n","영등포동2가\n","영등포동3가\n","영등포동4가\n",
"영등포동5가\n","영등포동6가\n","영등포동7가\n","영등포동8가\n","여의도동\n",
"당산동1가\n","당산동2가\n","당산동3가\n","당산동4가\n","당산동5가\n",
"당산동6가\n","당산동\n","도림동\n","문래동1가\n","문래동2가\n",
"문래동3가\n","문래동4가\n","문래동5가\n","문래동6가\n","양평동1가\n",
"양평동2가\n","양평동3가\n","양평동4가\n","양평동5가\n","양평동6가\n",
"양화동\n","신길동\n","대림동\n","양평동\n","영등포본동\n",
"여의동\n","당산1동\n","당산2동\n","문래동\n","양평1동\n",
"양평2동\n","신길1동\n","신길3동\n","신길4동\n","신길5동\n",
"신길6동\n","신길7동\n","대림1동\n","대림2동\n","대림3동\n"};
printf("%s",aa16[ba16]);
}
else if(a1[b1]=a1[16])
{
printf("동작구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("동작구 복불복 : ");
int ba17;
srand((unsigned)time(NULL));
ba17=rand()%20+0;
char*aa17[]={"노량진동\n","상도동\n","상도1동\n","본동\n","흑석동\n",
"동작동\n","사당동\n","대방동\n","신대방동\n","노량진1동\n",
"노량진2동\n","상도2동\n","상도3동\n","상도4동\n","사당1동\n",
"사당2동\n","사당3동\n","사당4동\n","사당5동\n","신대방1동\n",
"신대방2동\n"};
printf("%s",aa17[ba17]);
}
else if(a1[b1]=a1[17])
{
printf("관악구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("관악구 복불복 : ");
int ba18;
srand((unsigned)time(NULL));
ba18=rand()%16+0;
char*aa18[]={"봉천동\n","신림동\n","남현동\n","보라매동\n","청림동\n",
"성현동\n","행운동\n","낙성대동\n","청룡동\n","은천동\n",
"중앙동\n","인헌동\n","서원동\n","신원동\n","서림동\n",
"신사동\n","난향동\n","조원동\n","대학동\n","삼성동\n",
"미성동\n","난곡동\n"};
printf("%s",aa18[ba18]);
}
else if(a1[b1]=a1[18])
{
printf("서초구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("서초구 복불복 : ");
int ba19;
srand((unsigned)time(NULL));
ba19=rand()%25+0;
char*aa19[]={"방배동\n","양재동\n","우면동\n","원지동\n","잠원동\n",
"반포동\n","서초동\n","내곡동\n","염곡동\n","신원동\n",
"서초1동\n","서초2동\n","서초3동\n","서초4동\n","반포본동\n",
"반포1동\n","반포2동\n","반포3동\n","반포4동\n","방배본동\n",
"방배1동\n","방배2동\n","방배3동\n","방배4동\n","양재1동\n",
"양재2동\n"};
printf("%s",aa19[ba19]);
}
else if(a1[b1]=a1[19])
{
printf("강남구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("강남구 복불복 : ");
int ba20;
srand((unsigned)time(NULL));
ba20=rand()%30+0;
char*aa20[]={"역삼동\n","개포동\n","청담동\n","삼성동\n","대치동\n",
"신사동\n","논현동\n","압구정동\n","세곡동\n","자곡동\n",
"율현동\n","일원동\n","수서동\n","도곡동\n","논현1동\n",
"논현2동\n","삼성1동\n","삼성2동\n","대치1동\n","대치2동\n",
"대치4동\n","역삼1동\n","역삼2동\n","도곡1동\n","도곡2동\n",
"개포1동\n","개포2동\n","개포4동\n","일원본동\n","일원1동\n",
"일원2동\n"};
printf("%s",aa20[ba20]);
}
else if(a1[b1]=a1[20])
{
printf("송파구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("송파구 복불복 : ");
int ba21;
srand((unsigned)time(NULL));
ba21=rand()%24+0;
char*aa21[]={"잠실동\n","신천동\n","풍납동\n","송파동\n","석촌동\n",
"삼전동\n","가락동\n","문정동\n","장지동\n","방이동\n",
"오금동\n","거여동\n","마천동\n","풍납1동\n","풍납2동\n",
"거여1동\n","거여2동\n","마천1동\n","마천2동\n","방이1동\n",
"방이2동\n","오륜동\n","송파1동\n","송파2동\n","가락본동\n",
"가락1동\n","가락2동\n","문정1동\n","문정2동\n","잠실본동\n",
"잠실2동\n","잠실3동\n","잠실4동\n","잠실6동\n","잠실7동\n"};
printf("%s",aa21[ba21]);
}
else if(a1[b1]=a1[21])
{
printf("강동구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("강동구 복불복 : ");
int ba22;
srand((unsigned)time(NULL));
ba22=rand()%23+0;
char*aa22[]={"명일동\n","고덕동\n","상일동\n","길동\n","둔촌동\n",
"암사동\n","성내동\n","천호동\n","강일동\n","명일1동\n",
"명일2동\n","고덕1동\n","고덕2동\n","암사1동\n","암사2동\n",
"암사3동\n","천호1동\n","천호2동\n","천호3동\n","성내1동\n",
"성내2동\n","성내3동\n","둔촌1동\n","둔촌2동\n"};
printf("%s",aa22[ba22]);
}
else if(a1[b1]=a1[22])
{
printf("종로구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("종로구 복불복 : ");
int ba23;
srand((unsigned)time(NULL));
ba23=rand()%95+0;
char*aa23[]={"청운동\n","신교동\n","궁정동\n","효자동\n","창성동\n",
"통의동\n","적선동\n","통인동\n","누상동\n","누하동\n",
"옥인동\n","체부동\n","필운동\n","내자동\n","사직동\n",
"도렴동\n","당주동\n","내수동\n","세종로\n","신문로1가\n",
"신문로2가\n","청진동\n","서린동\n","수송동\n","중학동\n",
"종로1가\n","공평동\n","관훈동\n","견지동\n","와룡동\n",
"권농동\n","운니동\n","익선동\n","경운동\n","관철동\n",
"인사동\n","낙원동\n","종로2가\n","팔판동\n","삼청동\n",
"안국동\n","소격동\n","화동\n","사간동\n","송현동\n",
"가회동\n","재동\n","계동\n","원서동\n","훈정동\n",
"묘동\n","봉익동\n","돈의동\n","장사동\n","관수동\n",
"종로3가\n","인의동\n","예지동\n","원남동\n","연지동\n",
"종로4가\n","효제동\n","종로5가\n","종로6가\n","이화동\n",
"연건동\n","충신동\n","동숭동\n","혜화동\n","명륜1가\n",
"명륜2가\n","명륜4가\n","명륜3가\n","창신동\n","숭인동\n",
"교남동\n","평동\n","송월동\n","홍파동\n","교북동\n",
"행촌동\n","구기동\n","평창동\n","부암동\n","홍지동\n",
"신영동\n","무악동\n","청운효자동\n","종로1.2.3.4가동\n","종로5.6가동\n",
"명륜3가동\n","창신1동\n","창신2동\n","창신3동\n","숭인1동\n",
"숭인2동\n"};
printf("%s",aa23[ba23]);
}
else if(a1[b1]=a1[23])
{
printf("중구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("중구 복불복 : ");
int ba24;
srand((unsigned)time(NULL));
ba24=rand()%85+0;
char*aa24[]={"무교동\n","다동\n","태평로1가\n","을지로1가\n","을지로2가\n",
"남대문로1가\n","삼각동\n","수하동\n","장교동\n","수표동\n",
"소공동\n","남창동\n","북창동\n","태평로2가\n","남대문로2가\n",
"남대문로3가\n","남대문로4가\n","남대문로5가\n","봉래동1가\n","봉래동2가\n",
"회현동1가\n","회현동2가\n","회현동3가\n","충무로1가\n","충무로2가\n",
"명동1가\n","명동2가\n","남산동1가\n","남산동2가\n","남산동3가\n",
"저동1가\n","충무로4가\n","충무로5가\n","인현동2가\n","예관동\n",
"묵정동\n","필동1가\n","필동2가\n","필동3가\n","남학동\n",
"주자동\n","예장동\n","장충동1가\n","장충동2가\n","광희동1가\n",
"광희동2가\n","쌍림동\n","을지로6가\n","을지로7가\n","을지로4가\n",
"을지로5가\n","주교동\n","방산동\n","오장동\n","을지로3가\n",
"입정동\n","산림동\n","충무로3가\n","초동\n","인현동1가\n",
"저동2가\n","신당동\n","흥인동\n","무학동\n","황학동\n",
"서소문동\n","정동\n","순화동\n","의주로1가\n","충정로1가\n",
"중림동\n","의주로2가\n","만리동1가\n","만리동2가\n","회현동\n",
"명동\n","필동\n","장충동\n","광희동\n","을지로동\n",
"신당1동\n","신당2동\n","신당3동\n","신당4동\n","신당5동\n",
"신당6동\n"};
printf("%s",aa24[ba24]);
}
else if(a1[b1]=a1[24])
{
printf("성북구입니다.(계속하실려면 아무키나 눌러주게나)\n");
getch();
printf("성북구 복불복 : ");
int ba25;
srand((unsigned)time(NULL));
ba25=rand()%55+0;
char*aa25[]={"성북동\n","성북동1가\n","돈암동\n","동소문동1가\n","동소문동2가\n",
"동소문동3가\n","동소문동4가\n","동소문동5가\n","동소문동6가\n","동소문동7가\n",
"삼선동1가\n","삼선동2가\n","삼선동3가\n","삼선동4가\n","삼선동5가\n",
"동선동1가\n","동선동2가\n","동선동3가\n","동선동4가\n","동선동5가\n",
"안암동1가\n","안암동2가\n","안암동3가\n","안암동4가\n","안암동5가\n",
"보문동4가\n","보문동5가\n","보문동6가\n","보문동7가\n","보문동1가\n",
"보문동2가\n","보문동3가\n","정릉동\n","길음동\n","종암동\n",
"하월곡동\n","상월곡동\n","장위동\n","석관동\n","삼선동\n",
"동선동\n","돈암1동\n","돈암2동\n","안암동\n","보문동\n",
"정릉1동\n","정릉2동\n","정릉3동\n","정릉4동\n","길음1동\n",
"길음2동\n","월곡1동\n","월곡2동\n","장위1동\n","장위2동\n",
"장위3동\n"};
printf("%s",aa25[ba25]);
}
}
else if(a[b]==a[1])
{
printf("경기도임(계속할려면 아무키나 눌러주게나)\n");
getch();
printf("경기도 복불복 시작!(시작하실려면 아무키나 눌러주삼)\n");
getch();
printf("경기도 복불복 : ");
int b2;
srand((unsigned)time(NULL));
b2=rand()%31;
char*a2[]={"파주시\n","수원시\n","성남시\n","화성시\n","안양시\n","부천시\n",
"광명시\n","평택시\n","이천시\n","동두천시\n","안산시\n","안성시\n",
"고양시\n","과천시\n","구리시\n","남양주시\n","오산시\n","시흥시\n",
"군포시\n","의왕시\n","하남시\n","김포시\n","용인시\n","연천군\n",
"가평군\n","양평군\n","광주시\n","포천시\n","양주시\n","여주군\n","의정부시\n"};
printf("%s",a2[b2]);
if(a2[b2]==a2[0])
{
printf("파주시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("파주시 복불복 : ");
int bb0;
srand((unsigned)time(NULL));
bb0=rand()%40+0;
char*ab0[]={"금촌동\n","아동동\n","금능동\n","야동동\n","검산동\n",
"맥금동\n","교하동\n","야당동\n","다율동\n","오도동\n",
"상지석동\n","산남동\n","동패동\n","당하동\n","문발동\n",
"송촌동\n","목동동\n","하지석동\n","서패동\n","신촌동\n",
"연다산동\n","와동동\n","문산읍\n","파주읍\n","법원읍\n",
"조리읍\n","월롱면\n","탄현면\n","광탄면\n","파평면\n",
"적성면\n","군내면\n","장단면\n","진동면\n","진서면\n",
"금촌1동\n","금촌2동\n","금촌3동\n","운정1동\n","운정2동\n",
"운정3동\n"};
printf("%s",ab0[bb0]);
}
else if(a2[b2]==a2[1])
{
printf("수원시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("수원시 복불복 : ");
int bb1;
srand(GetTickCount());
bb1=rand()%3+0;
char*ab1[]={"장안구\n","권선구\n","팔달구\n","영통구\n"};
printf("%s",ab1[bb1]);
if(ab1[bb1]==ab1[0])
{
printf("장안구임돠(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("장안구 복불복 : ");
int bb1a;
srand((unsigned)time(NULL));
bb1a=rand()%16;
char*ab1a[]={"파장동\n","정자동\n","이목동\n","율전동\n","천천동\n",
"영화동\n","송죽동\n","조원동\n","연무동\n","상광교동\n",
"하광교동\n","율천동\n","정자1동\n","정자2동\n","정자3동\n",
"조원1동\n","조원2동\n"};
printf("%s",ab1a[bb1a]);
}
else if(ab1[bb1]==ab1[1])
{
printf("권선구임(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("권선구 복불복 : ");
int bb1a1;
srand((unsigned)time(NULL));
bb1a1=rand()%23;
char*ab1a1[]={"세류동\n","평동\n","고색동\n","오목천동\n","평리동\n",
"서둔동\n","구운동\n","탑동\n","금곡동\n","호매실동\n",
"곡반정동\n","권선동\n","장지동\n","대황교동\n","입북동\n",
"당수동\n","세류1동\n","세류2동\n","세류3동\n","금호동\n",
"권선1동\n","권선2동\n","곡선동\n"};
printf("%s",ab1a1[bb1a1]);
}
else if(ab1[bb1]==ab1[2])
{
printf("팔달구임(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("팔달구 복불복 : ");
int bb1a2;
srand((unsigned)time(NULL));
bb1a2=rand()%28;
char*ab1a2[]={"팔달로1가\n","팔달로2가\n","팔달로3가\n","남창동\n","영동\n",
"중동\n","구천동\n","남수동\n","매향동\n","북수동\n",
"신풍동\n","장안동\n","교동\n","매교동\n","매산로1가\n",
"매산로2가\n","매산로3가\n","고등동\n","화서동\n","지동\n",
"우만동\n","인계동\n","매산동\n","화서1동\n","화서2동\n",
"우만1동\n","우만2동\n","행궁동\n"};
printf("%s",ab1a2[bb1a2]);
}
else if(ab1[bb1]==ab1[3])
{
printf("영통구임(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("영통구 복불복 : ");
int bb1a3;
srand((unsigned)time(NULL));
bb1a3=rand()%14;
char*ab1a3[]={"매탄동\n","원천동\n","이의동\n","하동\n","영통동\n",
"신동\n","망포동\n","매탄1동\n","매탄2동\n","매탄3동\n",
"매탄4동\n","영통1동\n","영통2동\n","태장동\n"};
printf("%s",ab1a3[bb1a3]);
}
}
else if(a2[b2]==a2[2])
{
printf("성남시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("성남시 복불복 : ");
int bb2;
srand(GetTickCount());
bb2=rand()%2+0;
char*ab2[]={"수정구\n","중원구\n","분당구\n"};
printf("%s",ab2[bb2]);
if(ab2[bb2]=ab2[0])
{
printf("수정구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("수정구 복불복 : ");
int bb2a;
srand((unsigned)time(NULL));
bb2a=rand()%26;
char*ab2a[]={"신흥동\n","태평동\n","수진동\n","단대동\n","산성동\n",
"양지동\n","복정동\n","창곡동\n","신촌동\n","오야동\n",
"심곡동\n","고등동\n","상적동\n","둔전동\n","시흥동\n",
"금토동\n","사송동\n","신흥1동\n","신흥2동\n","신흥3동\n",
"태평1동\n","태평2동\n","태평3동\n","태평4동\n","수진1동\n",
"수진2동\n"};
printf("%s",ab2a[bb2a]);
}
else if(ab2[bb2]=ab2[1])
{
printf("중원구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("중원구 복불복 : ");
int bb2a1;
srand((unsigned)time(NULL));
bb2a1=rand()%16;
char*ab2a1[]={"성남동\n","금광동\n","은행동\n","상대원동\n","여수동\n",
"도촌동\n","갈현동\n","하대원동\n","중앙동\n","금광1동\n",
"금광2동\n","은행1동\n","은행2동\n","상대원1동\n","상대원2동\n",
"상대원3동\n"};
printf("%s",ab2a1[bb2a1]);
}
else if(ab2[bb2]=ab2[2])
{
printf("분당구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("분당구 복불복 : ");
int bb2a2;
srand((unsigned)time(NULL));
bb2a2=rand()%32;
char*ab2a2[]={"분당동\n","수내동\n","정자동\n","율동\n","서현동\n",
"이매동\n","야탑동\n","판교동\n","삼평동\n","백현동\n",
"금곡동\n","궁내동\n","동원동\n","구미동\n","운중동\n",
"대장동\n","석운동\n","하산운동\n","수내1동\n","수내2동\n",
"수내3동\n","정자1동\n","정자2동\n","정자3동\n","서현1동\n",
"서현2동\n","이매1동\n","이매2동\n","야탑1동\n","야탑2동\n",
"야탑3동\n","구미1동\n"};
printf("%s",ab2a2[bb2a2]);
}
}
else if(a2[b2]==a2[3])
{
printf("화성시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("화성시 복불복 : ");
int bb3;
srand((unsigned)time(NULL));
bb3=rand()%48;
char*ab3[]={"남양동\n","신남동\n","장덕동\n","안석동\n","활초동\n",
"온석동\n","무송동\n","북양동\n","송림동\n","수화동\n",
"장전동\n","신외동\n","문호동\n","시동\n","원천동\n",
"진안동\n","병점동\n","능동\n","기산동\n","반월동\n",
"반정동\n","황계동\n","배양동\n","기안동\n","송산동\n",
"안녕동\n","반송동\n","석우동\n","봉담읍\n","우정읍\n",
"향남읍\n","매송면\n","비봉면\n","마도면\n","송산면\n",
"서신면\n","팔탄면\n","장안면\n","양감면\n","정남면\n",
"동탄면\n","병점1동\n","병점2동\n","기배동\n","화산동\n",
"동탄1동\n","동탄2동\n","동탄3동\n"};
printf("%s",ab3[bb3]);
}
else if(a2[b2]==a2[4])
{
printf("안양시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("안양시 복불복 : ");
int bb4;
srand(GetTickCount());
bb4=rand()%2;
char*ab4[]={"만안구\n","동안구\n"};
printf("%s",ab4[bb4]);
if(ab4[bb4]==ab4[0])
{
printf("만안구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("만안구 복불복 : ");
int bb4a;
srand((unsigned)time(NULL));
bb4a=rand()%17;
char*ab4a[]={"안양동\n","석수동\n","박달동\n","안양1동\n","안양2동\n",
"안양3동\n","안양4동\n","안양5동\n","안양6동\n","안양7동\n",
"안양8동\n","안양9동\n","석수1동\n","석수2동\n","석수3동\n",
"박달1동\n","박달2동\n"};
printf("%s",ab4a[bb4a]);
}
else if(ab4[bb4]==ab4[1])
{
printf("동안구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("동안구 복불복 : ");
int bb4a1;
srand((unsigned)time(NULL));
bb4a1=rand()%20;
char*ab4a1[]={"비산동\n","관양동\n","평촌동\n","호계동\n","비산1동\n",
"비산2동\n","비산3동\n","부흥동\n","달안동\n","관양1동\n",
"관양2동\n","부림동\n","평안동\n","귀인동\n","호계1동\n",
"호계2동\n","호계3동\n","범계동\n","신촌동\n","갈산동\n"};
printf("%s",ab4a1[bb4a1]);
}
}
else if(a2[b2]==a2[5])
{
printf("부천시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("부천시 복불복 : ");
int bb5;
srand(GetTickCount());
bb5=rand()%3;
char*ab5[]={"원미구\n","소사구\n","오정구\n"};
printf("%s",ab5[bb5]);
if(ab5[bb5]=ab5[0])
{
printf("원미구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("원미구 복불복 : ");
int bb5a;
srand((unsigned)time(NULL));
bb5a=rand()%28;
char*ab5a[]={"원미동\n","심곡동\n","춘의동\n","도당동\n","약대동\n",
"소사동\n","역곡동\n","중동\n","상동\n","심곡1동\n",
"심곡2동\n","심곡3동\n","원미1동\n","원미2동\n","역곡1동\n",
"역곡2동\n","중1동\n","중2동\n","중3동\n","중4동\n",
"상1동\n","상2동\n","상3동\n"};
printf("%s",ab5a[bb5a]);
}
else if(ab5[bb5]=ab5[1])
{
printf("소사구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("소사구 복불복 : ");
int bb5a1;
srand((unsigned)time(NULL));
bb5a1=rand()%14;
char*ab5a1[]={"소사본동\n","심곡본동\n","범박동\n","괴안동\n","송내동\n",
"옥길동\n","계수동\n","심곡본1동\n","소사본1동\n","소사본2동\n",
"소사본3동\n","역곡3동\n","송내1동\n","송내2동\n"};
printf("%s",ab5a1[bb5a1]);
}
else if(ab5[bb5]=ab5[2])
{
printf("오정구입니다.(계속하실려면 아무키나 눌러주세요.)\n");
getch();
printf("오정구 복불복 : ");
int bb5a2;
srand((unsigned)time(NULL));
bb5a2=rand()%14;
char*ab5a2[]={"소사본동\n","심곡본동\n","범박동\n","괴안동\n","송내동\n",
"옥길동\n","계수동\n","심곡본1동\n","소사본1동\n","소사본2동\n",
"소사본3동\n","역곡3동\n","송내1동\n","송내2동\n"};
printf("%s",ab5a2[bb5a2]);
}
}
else if(a2[b2]==a2[6])
{
printf("광명시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("광명시 복불복 : ");
int bb6;
srand((unsigned)time(NULL));
bb6=rand()%26;
char*ab6[]={"광명동\n","철산동\n","하안동\n","소하동\n","노온사동\n",
"일직동\n","가학동\n","옥길동\n","광명1동\n","광명2동\n",
"광명3동\n","광명4동\n","광명5동\n","광명6동\n","광명7동\n",
"철산1동\n","철산2동\n","철산3동\n","철산4동\n","하안1동\n",
"하안2동\n","하안3동\n","하안4동\n","소하1동\n","소하2동\n",
"학온동\n"};
printf("%s",ab6[bb6]);
}
else if(a2[b2]==a2[7])
{
printf("평택시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("평택시 복불복 : ");
int bb7;
srand((unsigned)time(NULL));
bb7=rand()%45;
char*ab7[]={"서정동\n","장당동\n","모곡동\n","칠괴동\n","칠원동\n",
"도일동\n","가재동\n","장안동\n","이충동\n","지산동\n",
"독곡동\n","신장동\n","평택동\n","통복동\n","군문동\n",
"유천동\n","합정동\n","비전동\n","동삭동\n","세교동\n",
"지제동\n","신대동\n","소사동\n","용이동\n","월곡동\n",
"청룡동\n","죽백동\n","팽성읍\n","안중읍\n","포승읍\n",
"진위면\n","서탄면\n","고덕면\n","오성면\n","청북면\n",
"현덕면\n","중앙동\n","송탄동\n","송북동\n","신장1동\n",
"신장2동\n","신평동\n","원평동\n","비전1동\n","비전2동\n"};
printf("%s",ab7[bb7]);
}
else if(a2[b2]==a2[8])
{
printf("이천시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("이천시 복불복 : ");
int bb8;
srand((unsigned)time(NULL));
bb8=rand()%24;
char*ab8[]={"창전동\n","관고동\n","중리동\n","증일동\n","율현동\n",
"진리동\n","안흥동\n","갈산동\n","증포동\n","송정동\n",
"사음동\n","단월동\n","대포동\n","고담동\n","장록동\n",
"장호원읍\n","부발읍\n","신둔면\n","백사면\n","호법면\n",
"마장면\n","대월면\n","모가면\n","설성면\n","율면\n"};
printf("%s",ab8[bb8]);
}
else if(a2[b2]==a2[9])
{
printf("동두천시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("동두천시 복불복 : ");
int bb9;
srand((unsigned)time(NULL));
bb9=rand()%17;
char*ab9[]={"송내동\n","지행동\n","생연동\n","광암동\n","걸산동\n",
"보산동\n","동두천동\n","안흥동\n","상봉암동\n","하봉암동\n",
"탑동동\n","상패동\n","생연1동\n","생연2동\n","중앙동\n",
"불현동\n","소요동\n"};
printf("%s",ab9[bb9]);
}
else if(a2[b2]==a2[10])
{
printf("안산시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("안산시 복불복 : ");
int bb10;
srand(GetTickCount());
bb10=rand()%1+0;
char*ab10[]={"상록구\n","단원구\n"};
printf("%s",ab10[bb10]);
if(ab10[bb10]==ab10[0])
{
printf("상록구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("상록구 복불복 : ");
int bb10a;
srand((unsigned)time(NULL));
bb10a=rand()%22+0;
char*ab10a[]={"일동\n","이동\n","사동\n","본오동\n","팔곡2동\n",
"양상동\n","부곡동\n","성포동\n","월피동\n","팔곡1동\n",
"건건동\n","사사동\n","수암동\n","장상동\n","장하동\n",
"사1동\n","사2동\n","사3동\n","본오1동\n","본오2동\n",
"본오3동\n","반월동\n","안산동\n"};
printf("%s",ab10a[bb10a]);
}
else if(ab10[bb10]==ab10[1])
{
printf("단원구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("단원구 복불복 : ");
int bb10a1;
srand((unsigned)time(NULL));
bb10a1=rand()%24+0;
char*ab10a1[]={"고잔동\n","와동\n","신길동\n","성곡동\n","원시동\n",
"목내동\n","초지동\n","원곡동\n","선부동\n","대부동동\n",
"대부북동\n","대부남동\n","선감동\n","풍도동\n","화정동\n",
"고잔1동\n","고잔2동\n","호수동\n","원곡본동\n","원곡1동\n",
"원곡2동\n","선부1동\n","선부2동\n","선부3동\n","대부동\n"};
printf("%s",ab10a1[bb10a1]);
}
}
else if(a2[b2]==a2[11])
{
printf("안성시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("안성시 복불복 : ");
int bb11;
srand((unsigned)time(NULL));
bb11=rand()%49;
char*ab11[]={"봉산동\n","숭인동\n","영동\n","봉남동\n","구포동\n",
"동본동\n","명륜동\n","옥천동\n","낙원동\n","창전동\n",
"성남동\n","신흥동\n","인지동\n","금산동\n","연지동\n",
"대천동\n","서인동\n","석정동\n","아양동\n","금석동\n",
"계동\n","옥산동\n","사곡동\n","도기동\n","당왕동\n",
"가사동\n","가현동\n","신건지동\n","신소현동\n","신모산동\n",
"현수동\n","발화동\n","중리동\n","공도읍\n","보개면\n",
"금광면\n","서운면\n","미양면\n","대덕면\n","양성면\n",
"원곡면\n","일죽면\n","죽산면\n","삼죽면\n","고삼면\n",
"안성1동\n","안성2동\n","안성3동\n"};
printf("%s",ab11[bb11]);
}
else if(a2[b2]==a2[12])
{
printf("고양시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("고양시 복불복 : ");
int bb12;
srand(GetTickCount());
bb12=rand()%3;
char*ab12[]={"덕양구\n","일산동구\n","일산서구\n"};
printf("%s",ab12[bb12]);
if(ab12[bb12]=ab12[0])
{
printf("덕양구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("덕양구 복불복 : ");
int bb12a;
srand((unsigned)time(NULL));
bb12a=rand()%46;
char*ab12a[]={"주교동\n","원당동\n","신원동\n","원흥동\n","도내동\n",
"성사동\n","북한동\n","효자동\n","지축동\n","오금동\n",
"삼송동\n","동산동\n","용두동\n","벽제동\n","선유동\n",
"고양동\n","대자동\n","관산동\n","내유동\n","토당동\n",
"내곡동\n","대장동\n","화정동\n","강매동\n","행주내동\n",
"행주외동\n","신평동\n","행신동\n","화전동\n","현천동\n",
"덕은동\n","향동동\n","원신동\n","흥도동\n","성사1동\n",
"성사2동\n","신도동\n","창릉동\n","능곡동\n","화정1동\n",
"화정2동\n","행주동\n","행신1동\n","행신2동\n","행신3동\n",
"대덕동\n"};
printf("%s",ab12a[bb12a]);
}
else if(ab12[bb12]=ab12[1])
{
printf("일산동구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("일산동구 복불복 : ");
int bb12a1;
srand((unsigned)time(NULL));
bb12a1=rand()%21;
char*ab12a1[]={"식사동\n","중산동\n","정발산동\n","장항동\n","마두동\n",
"백석동\n","풍동\n","산황동\n","사리현동\n","지영동\n",
"설문동\n","문봉동\n","성석동\n","풍산동\n","백석1동\n",
"백석2동\n","마두1동\n","마두2동\n","장항1동\n","장항2동\n",
"고봉동\n"};
printf("%s",ab12a1[bb12a1]);
}
else if(ab12[bb12]=ab12[2])
{
printf("일산서구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("일산서구 복불복 : ");
int bb12a2;
srand((unsigned)time(NULL));
bb12a2=rand()%15;
char*ab12a2[]={"일산동\n","주엽동\n","탄현동\n","대화동\n","덕이동\n",
"가좌동\n","구산동\n","법곳동\n","일산1동\n","일산2동\n",
"일산3동\n","주엽1동\n","주엽2동\n","송포동\n","송산동\n"};
printf("%s",ab12a2[bb12a2]);
}
}
else if(a2[b2]==a2[13])
{
printf("과천시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("과천시 복불복 : ");
int bb13;
srand((unsigned)time(NULL));
bb13=rand()%10;
char*ab13[]={"관문동\n","문원동\n","갈현동\n","막계동\n","과천동\n",
"주암동\n","중앙동\n","원문동\n","별양동\n","부림동\n"};
printf("%s",ab13[bb13]);
}
else if(a2[b2]==a2[14])
{
printf("구리시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("구리시 복불복 : ");
int bb14;
srand((unsigned)time(NULL));
bb14=rand()%13;
char*ab14[]={"갈매동\n","사노동\n","인창동\n","교문동\n","수택동\n",
"아천동\n","토평동\n","동구동\n","교문1동\n","교문2동\n",
"수택1동\n","수택2동\n","수택3동\n"};
printf("%s",ab14[bb14]);
}
else if(a2[b2]==a2[15])
{
printf("남양주시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("남양주시 복불복 : ");
int bb15;
srand((unsigned)time(NULL));
bb15=rand()%21;
char*ab15[]={"호평동\n","평내동\n","금곡동\n","일패동\n","이패동\n",
"삼패동\n","가운동\n","수석동\n","지금동\n","도농동\n",
"별내동\n","와부읍\n","진접읍\n","화도읍\n","진건읍\n",
"오남읍\n","별내면\n","수동면\n","조안면\n","퇴계원면\n",
"양정동\n"};
printf("%s",ab15[bb15]);
}
else if(a2[b2]==a2[16])
{
printf("오산시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("오산시 복불복 : ");
int bb16;
srand((unsigned)time(NULL));
bb16=rand()%30;
char*ab16[]={"오산동\n","부산동\n","원동\n","궐동\n","청학동\n",
"가장동\n","금암동\n","수청동\n","은계동\n","내삼미동\n",
"외삼미동\n","양산동\n","세교동\n","지곶동\n","서랑동\n",
"서동\n","벌음동\n","두곡동\n","탑동\n","누읍동\n",
"가수동\n","고현동\n","청호동\n","갈곶동\n","중앙동\n",
"남촌동\n","신장동\n","세마동\n","초평동\n","대원동\n"};
printf("%s",ab16[bb16]);
}
else if(a2[b2]==a2[17])
{
printf("시흥시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("시흥시 복불복 : ");
int bb17;
srand((unsigned)time(NULL));
bb17=rand()%36;
char*ab17[]={"대야동\n","신천동\n","방산동\n","포동\n","미산동\n",
"은행동\n","안현동\n","매화동\n","도창동\n","금이동\n",
"과림동\n","계수동\n","화정동\n","능곡동\n","하중동\n",
"하상동\n","광석동\n","물왕동\n","산현동\n","조남동\n",
"논곡동\n","목감동\n","거모동\n","군자동\n","장현동\n",
"장곡동\n","월곶동\n","정왕동\n","죽율동\n","무지내동\n",
"신현동\n","정왕본동\n","정왕1동\n","정왕2동\n","정왕3동\n",
"정왕4동\n","연성동\n"};
printf("%s",ab17[bb17]);
}
else if(a2[b2]==a2[18])
{
printf("군포시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("군포시 복불복 : ");
int bb18;
srand((unsigned)time(NULL));
bb18=rand()%19;
char*ab18[]={"당동\n","당정동\n","부곡동\n","산본동\n","금정동\n",
"둔대동\n","속달동\n","대야미동\n","도마교동\n","군포1동\n",
"군포2동\n","산본1동\n","산본2동\n","재궁동\n","오금동\n",
"수리동\n","궁내동\n","대야동\n","광정동\n"};
printf("%s",ab18[bb18]);
}
else if(a2[b2]==a2[19])
{
printf("의왕시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("의왕시 복불복 : ");
int bb19;
srand((unsigned)time(NULL));
bb19=rand()%14;
char*ab19[]={"고천동\n","이동\n","삼동\n","왕곡동\n","오전동\n",
"학의동\n","내손동\n","청계동\n","포일동\n","월암동\n",
"초평동\n","부곡동\n","내손1동\n","내손2동\n"};
printf("%s",ab19[bb19]);
}
else if(a2[b2]==a2[20])
{
printf("하남시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("하남시 복불복 : ");
int bb20;
srand((unsigned)time(NULL));
bb20=rand()%29;
char*ab20[]={"천현동\n","하산곡동\n","창우동\n","배알미동\n","상산곡동\n",
"신장동\n","당정동\n","덕풍동\n","망월동\n","풍산동\n",
"미사동\n","선동\n","감북동\n","감일동\n","감이동\n",
"학암동\n","교산동\n","춘궁동\n","하사창동\n","상사창동\n",
"항동\n","초일동\n","초이동\n","광암동\n","신장1동\n",
"신장2동\n","덕풍1동\n","덕풍2동\n","덕풍3동\n"};
printf("%s",ab20[bb20]);
}
else if(a2[b2]==a2[21])
{
printf("김포시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("김포시 복불복 : ");
int bb21;
srand((unsigned)time(NULL));
bb21=rand()%17;
char*ab21[]={"북변동\n","걸포동\n","운양동\n","장기동\n","감정동\n",
"사우동\n","풍무동\n","마산동\n","구래동\n","통진읍\n",
"고촌읍\n","양촌읍\n","대곶면\n","월곶면\n","하성면\n",
"김포1동\n","김포2동\n"};
printf("%s",ab21[bb21]);
}
else if(a2[b2]==a2[22])
{
printf("용인시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("용인시 복불복 : ");
int bb22;
srand(GetTickCount());
bb22=rand()%3;
char*ab22[]={"처인구\n","기흥구\n","수지구\n"};
printf("%s",ab22[bb22]);
if(ab22[bb22]==ab22[0])
{
printf("처인구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("처인구 복불복 : ");
int bb22a;
srand((unsigned)time(NULL));
bb22a=rand()%21;
char*ab22a[]={"김량장동\n","역북동\n","삼가동\n","남동\n","유방동\n",
"고림동\n","마평동\n","운학동\n","호동\n","해곡동\n",
"포곡읍\n","모현면\n","남사면\n","이동면\n","원삼면\n",
"백암면\n","양지면\n","중앙동\n","역삼동\n","유림동\n",
"동부동\n"};
printf("%s",ab22a[bb22a]);
}
else if(ab22[bb22]==ab22[1])
{
printf("기흥구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("기흥구 복불복 : ");
int bb22a1;
srand((unsigned)time(NULL));
bb22a1=rand()%21;
char*ab22a1[]={"신갈동\n","구갈동\n","상갈동\n","하갈동\n","보라동\n",
"지곡동\n","공세동\n","고매동\n","농서동\n","서천동\n",
"영덕동\n","언남동\n","마북동\n","청덕동\n","동백동\n",
"중동\n","상하동\n","보정동\n","기흥동\n","서농동\n",
"구성동\n"};
printf("%s",ab22a1[bb22a1]);
}
else if(ab22[bb22]==ab22[2])
{
printf("수지구입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("수지구 복불복 : ");
int bb22a2;
srand((unsigned)time(NULL));
bb22a2=rand()%13;
char*ab22a2[]={"풍덕천동\n","죽전동\n","동천동\n","고기동\n","신봉동\n",
"성복동\n","상현동\n","풍덕천1동\n","풍덕천2동\n","죽전1동\n",
"죽전2동\n","상현1동\n","상현2동\n"};
printf("%s",ab22a2[bb22a2]);
}
}
else if(a2[b2]==a2[23])
{
printf("연천군입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("연천군 복불복 : ");
int bb23;
srand((unsigned)time(NULL));
bb23=rand()%10;
char*ab23[]={"연천읍\n","전곡읍\n","군남면\n","청산면\n","백학면\n",
"미산면\n","왕징면\n","신서면\n","중면\n","장남면\n"};
printf("%s",ab23[bb23]);
}
else if(a2[b2]==a2[24])
{
printf("가평군입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("가평군 복불복 : ");
int bb24;
srand((unsigned)time(NULL));
bb24=rand()%6;
char*ab24[]={"가평읍\n","설악면\n","청평면\n","상면\n","하면\n",
"북면\n"};
printf("%s",ab24[bb24]);
}
else if(a2[b2]==a2[25])
{
printf("양평군입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("양평군 복불복 : ");
int bb25;
srand((unsigned)time(NULL));
bb25=rand()%12;
char*ab25[]={"양평읍\n","강상면\n","강하면\n","양서면\n","옥천면\n",
"서종면\n","단월면\n","청운면\n","양동면\n","지평면\n",
"용문면\n","개군면\n"};
printf("%s",ab25[bb25]);
}
else if(a2[b2]==a2[25])
{
printf("광주시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("광주시 복불복 : ");
int bb26;
srand((unsigned)time(NULL));
bb26=rand()%21;
char*ab26[]={"경안동\n","쌍령동\n","송정동\n","회덕동\n","탄벌동\n",
"목현동\n","삼동\n","중대동\n","직동\n","태전동\n",
"장지동\n","역동\n","목동\n","오포읍\n","초월읍\n",
"곤지암읍\n","도척면\n","퇴촌면\n","남종면\n","중부면\n",
"광남동\n"};
printf("%s",ab26[bb26]);
}
else if(a2[b2]==a2[27])
{
printf("포천시입니다.(계속하실려면 아무키나 눌러주세요)\n");
getch();
printf("포천시 복불복 : ");
int bb27;
srand((unsigned)time(NULL));
bb27=rand()%19;
char*ab27[]={"신읍동\n","어룡동\n","자작동\n","선단동\n","설운동\n",
"동교동\n","소흘읍\n","군내면\n","내촌면