[C언어] 주소록에 이름과 전화번호를 입력하여 찾는 프로그램


[C언어] 주소록에 이름과 전화번호를 입력하여 찾는 프로그램

[C언어] 주소록에 이름과 전화번호를 입력하여 찾는 프로그램 #include #include int main() { char NAME[3][20], PHONE[3][20], SUCH[1][20]; int i, count = 0; /*이름과 전화번호를 배열에 저장*/ for (i = 0; i < 3; i++) { printf("%d st 사람 이름 : ", i + 1); scanf("%s", &NAME[i]); printf("%d st 사람 전화번호 : ", i + 1); scanf("%s", &PHONE[i]); } /*for (i = 0; i < 3; i++) { printf("%s %s\n", NAME[i], PHONE[i]); }*/ while (1) { /*찾을 사람을 SUCH[0]에 저장*/ p..


원문링크 : [C언어] 주소록에 이름과 전화번호를 입력하여 찾는 프로그램