Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A personal phone directory contains room for first names and phone numbers for 30 people. In Java, Assign names and phone numbers for the first

A personal phone directory contains room for first names and phone numbers for 30 people. In Java, Assign names and phone numbers for the first 10 people. Prompt the user for a name, and if the name is found in the list, display the corresponding phone number. If the name is not found in the list, prompt the user for a phone number, and add the new name and phone number to the list. Continue to prompt the user for names until the user enters quit. After the arrays are full (containing 30 names), do not allow the user to add new entries. Use the following names and phone numbers:

Name Phone #

Gina (847) 341-0912

Marcia (847) 341-2392

Rita (847) 354-0654

Jennifer (414) 234-0912

Fred (414) 435-6567

Neil (608) 123-0904

Judy (608) 435-0434

Arlene (608) 123-0312

LaWanda(920) 787-9813

Deepak (930) 412-0991

I saw one other post that resembles what I need but the code keeps erroring. Please help!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatio Temporal Database Management International Workshop Stdbm 99 Edinburgh Scotland September 10 11 1999 Proceedings Lncs 1678

Authors: Michael H. Bohlen ,Christian S. Jensen ,Michel O. Scholl

1999th Edition

3540664017, 978-3540664017

Students also viewed these Databases questions

Question

What steps should be taken to address any undesirable phenomena?

Answered: 1 week ago