Design a program that has two parallel arrays

Assignment Help Data Structure & Algorithms
Reference no: EM131274210

Design a program that has 2 parallel arrays: a String array named people that is initalized with the names of seven strangers, and a string array named phonenumbers that is initalized with the seven strangers phonenumbers. The program should allow the user to enter a person's name ( or part of a person's name). It should then search for that person in the people array. If the person is found, it should get that person's phone number from the phonenumbers array and display it. If the person is not found in the people array, the program should display a message indicating so.

Reference no: EM131274210

Questions Cloud

Changes the permissions on all the existing files : Using "absolute" (numeric) notation, changes the permissions on all the existing files in the ~/NetworkingClass/scripts directory so that the "user" (owner) has all permissions, all users in the same group have read and execute permissions, and al..
Effects of social networking including its benefits : In your opinion and based on your research, submit a post discussing the effects of social networking including its benefits, its negative influences, and how a Christian should deal with the technology?
Minimize the number of gates in design : Design a gate-level circuit that computes the function , where the input X is a 3-bit unsigned number represented by X2X1X0 and the output Y is a 7-bit unsigned number represented by Y6Y5Y4Y3Y2Y1Y0. Minimize the number of gates in your design
Display a summary of all of the movie titles : Display a summary of all of the movie titles, the number of movies entered, and the length of the longest movie. Note: Remember the good design principles you have already learned in the course.
Design a program that has two parallel arrays : Design a program that has 2 parallel arrays: a String array named people that is initalized with the names of seven strangers, and a string array named phonenumbers that is initalized with the seven strangers phonenumbers.
Identify and describe the topic of consideration : Identify and describe the topic of consideration. ((Bill of rights)) In ACA
American accounting association decision-making model : Work through this scenario using the American Accounting Association decision-making model, and decide what action Luke should take.
What is the difference between composition and aggregation : What is the difference between composition and aggregation? Draw class diagram based on the code below. What is composition and what symbol is used to represent it?
Evaluate whether you had any issues with accuracy : In this section, you will summarize each article by highlighting the purpose, research questions and hypotheses, methods, results, and conclusions drawn regarding the topic the article represents. Then, evaluate the merits of the article, includin..

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Creating a table of xml documents

Make a table of XML documents with a type of XML. Use a primary key so add a field of type INT that is an identity. Insert many records into XML field in this new table.

  Explaining adaptive playout delay algorithm

Consider adaptive playout delay algorithm. Demonstrate through simple example which adjusting playout delay at beginning of each talk spurt results in compressing

  Prepare the initial linked list of students and grades

Write a C program which initially presents menu of choices for the user. Menu must consist of the following choices: Prepare the initial linked list of students and grades.

  Description a long time ago in a galaxy far far away the

description a long time ago in a galaxy far far away the country mafghanistan had n cities and m old roads where each

  Question about internet storage

Assume you would like to save the digital pictures you took on vacation onto your hard drive, but it would take up too much storage space.

  Create greedy algorithm to find market to buy apples

Assume we drive pickup truck from city A to city B. Along high way, we will go through n apple markets, labeled with 1, 2, ..., n, where you can buy or sell apples. which means you buy and sell apples at the same market i.

  Write a suitable logical description of the robot.

Write a sentence describing the Go action. Use a successor-state axiom.

  Implement the queue data structure

implement the queue data structure - circular linked list to implement the queue data structure as described in java.

  Difference between sequential, random and binary file access

Discuss the difference between sequential file access, random file access, and binary file access? For each of the three types, provide an example of an application where the use of one type is better than the other 2-types.

  How to sort an array using insertion sort

How to sort an array using insertion sort and track teh number of swaps during the sorting - Can someone provide the answer with reference to data structure?

  Entity relationship diagram

Define context diagram and dfd of a variety store Entity relationship diagram

  Defined asa collection of distinct elements

SIT221 -DATA STRUCTURES AND ALGORITHMS. In mathematics, a set is defined asa collection of distinct (no duplication) elements . These elements could be anything - numbers, characters, strings, etc.There is no particular order of the elements in a ..

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