Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

create a java program that acts like a phonebook stated below Note 1: This project and the next project may be done in pairs. If

create a java program that acts like a phonebook stated belowimage text in transcribedimage text in transcribed

Note 1: This project and the next project may be done in pairs. If working as a pair, submit one copy only, with both names clearly visible. The pairs CANNOT be the same on both projects Note 2: There is no extra credit on this project, but considerable extra credit on the next project. The next project is the final project, and is also worth considerably more points Consider a program to enter codes of one to eight characters along with an associated telephone number and associated notes. A code can represent a person's ame, a person's initials, a place, or anythin By using such a program, we could enter telephone numbers or notes and associate them with some brief code (i.e. string), which hopefully would be easy to remember. We could then retrieve a given telephone number or notes by entering the code. This might be a useful application for a simple cell phone Codes are entered as 1 to 8 characters. Use "e"for enter, "f" for find, "l" for list, "q" for quit. Command: e Bill Enter number 419-536-1234 Enter notes: Command: e JB Enter number 510-0114 Enter notes: Charlie's place Command: e Jones Enter number: 413-257-1234 Enter notes Karen and Jason Command: e wnn Enter number 419-257-1234 Enter notes: Walmart Command: f JB 617-510-0114 ?Charlie's place Command: Jane **No entry with code Jane Comman: .. - The "l" command will list all entries on the screen. Note 1: This project and the next project may be done in pairs. If working as a pair, submit one copy only, with both names clearly visible. The pairs CANNOT be the same on both projects Note 2: There is no extra credit on this project, but considerable extra credit on the next project. The next project is the final project, and is also worth considerably more points Consider a program to enter codes of one to eight characters along with an associated telephone number and associated notes. A code can represent a person's ame, a person's initials, a place, or anythin By using such a program, we could enter telephone numbers or notes and associate them with some brief code (i.e. string), which hopefully would be easy to remember. We could then retrieve a given telephone number or notes by entering the code. This might be a useful application for a simple cell phone Codes are entered as 1 to 8 characters. Use "e"for enter, "f" for find, "l" for list, "q" for quit. Command: e Bill Enter number 419-536-1234 Enter notes: Command: e JB Enter number 510-0114 Enter notes: Charlie's place Command: e Jones Enter number: 413-257-1234 Enter notes Karen and Jason Command: e wnn Enter number 419-257-1234 Enter notes: Walmart Command: f JB 617-510-0114 ?Charlie's place Command: Jane **No entry with code Jane Comman: .. - The "l" command will list all entries on the screen

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

More Books

Students also viewed these Databases questions

Question

Armed conflicts.

Answered: 1 week ago

Question

2. Define communication.

Answered: 1 week ago