// Implements a phone book without structs #include #include #include int main(void) { string names[] = {"EMMA", "RODRIGO", "BRIAN", "DAVID"}; string numbers[] = {"617-555-0100", "617-555-0101", "617-555-0102", "617-555-0103"}; for (int i = 0; i < 4; i++) { if (!strcmp(names[i], "EMMA")) { printf("Found %s\n", numbers[i]); return 0; } } printf("Not found\n"); return 1; }