Practice Program 2 used two arrays to implement a simple phone book. A more scalable solution is

Question:

Practice Program 2 used two arrays to implement a simple phone book. A more scalable solution is to make an array of an object that stores the name and corresponding phone number. Modify the program to use a single array of an object. The output should remain the same.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: