Write an application that allows a user to enter the names

Assignment Help Computer Engineering
Reference no: EM132117414

THIS QUESTION HAS TWO PARTS:

A) Write an application that allows a user to enter the names and phone numbers of up to 20 friends.

Continue to prompt the user for names and phone numbers until the user enters "zzz" or has entered 20 names, whichever comes first.

When the user is finished entering names, produce a count of how many names were entered, but make certain not to count the application-ending dummy "zzz" entry.

Then display the names.

Ask the user to type one of the names and display the corresponding phone number.

Save the application as PhoneBook.java

B) Create the PhoneBookTest.java class that contains the main method and has an object to use the PhoneBook.java class

Reference no: EM132117414

Questions Cloud

Conduct research and draft legal documents : LLW1003 Legal Writing & Drafting - Letter of Advice - Develop your writing skills using the principles of plain English - conduct research and draft
Compare different products in the same industry : Compare and contrast 2 different products in the same industry (e.g., high-end vs. low-end vehicles). Build a model to depict how to most effectively.
Compare the in-house evaluation and external evaluation : Compare the in-house evaluation and external evaluation. Identify evaluations that only exist in either one of the evaluations.
Write the definition of a structure type called arraystats : Write the definition of a structure type called ArrayStats that contains 3 components of type double called min, max, and avg.
Write an application that allows a user to enter the names : Write an application that allows a user to enter the names and phone numbers of up to 20 friends.
Create a program that has an array of length : Create a program that has an array of length 100 which will automatically be filled with randomly generated numbers .
What advantages do local retail stores have : Describe how Amazon's online marketing strategy is impacting conventional retail stores. What specific advantages do Amazon and other online firms.
What types of networks are multiplexing technologies used : What types of networks are multiplexing technologies most commonly used and what capabilities does it provide to users and providers?
Which door would lead the boys to safety : After a quick search the boys find three doors, the first one red, the second one blue , and the third one green.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is the future of human-computer interactions

What makes today's technological environment a Digital World? What is the future of human-computer interactions

  The currency conversion application is a menu-driven

the final project consists of a currency conversion application. this application-similar to simple practical programs

  Set up a model to look for possible influences on interest

Evaluated Exercise - HADOOP, PIG, MAHOUT and SPARK - Your job is to set up a model to look for possible influences on interest rates

  Implement the back-propagation algorithm

Download the xor_nnet.py file from the course webpage and complete the steps marked # TODO to implement the back-propagation algorithm described in the class handout for this simple network

  Program on wireless connection technology

Program on wireless connection technology.

  Write a technical configuration information about iphone os

Write a technical configuration information about iPhone OS. You may suggest a topic that isn't on the list, but it must be approved.

  Write a program that produces a multiplication table

Write a program that produces a multiplication table with 25 rows of computations. Allow the user to input the first and last base values for the multiplication

  Write a put statement to print in dollars and cents

Assume a float variable called Pay contains the amount 327.66101. Write a Put statement to print it in dollars and cents with three leading blanks.

  Description of the facts of the investigation and case

Need to make report on small cases- 7 cases altogether in 1 assignment. 2 assignment has 7 cases as well.

  Create a graph to graphically represent the information

Create a spreadsheet showing the results of 3 and 4 and create a graph to graphically represent the information.

  Provide an example of a class of markov networks

Provide an example of a class of Markov networks Hn over n nodes for arbitrarily large n (not necessarily for every n), where the size of the largest clique.

  Define the quicksort algorithm to sort vector v

define the quicksort algorithm to sort vector v. During each pass, list all exchanges of a pair of elements in the lower and upper sublist.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd