Write program to store people-s name-phone numbers in array

Assignment Help Programming Languages
Reference no: EM1382170

Write down the program which has the array of at least ten string objects which hold people's name and phone numbers. You may make up own strings, or use following:

"Becky warren, 555-1223"
"Joe Looney, 555-0097"
"Geri Palmer, 555-8787"
"Lynn Presnell, 555-1212"
"Holly Gaddis, 555-8878"
"Sam Wiggins, 555-0998"
"Bob Kain, 555-8712"
"Tim Haynes, 555-7676"
"Warren Gaddis, 555-9037"
"Jean James, 555-4939"
"Ron Palmer, 555-2783"

Program must ask user to enter name or partial name to search for in array. Any entries in array which match the string entered must be displayed. For instance, if user enters "Palmer" program must display following names from the list:
Geri Palmer, 555-8787
Ron Palmer, 555-2783

Reference no: EM1382170

Questions Cloud

Determine the phenotypic ratios : In mice, dwarfism is caused by an X-linked recessive allele, and pink coat is caused by an autosomal dominant allele. If a dwarf female from a pure line is crossed with a pink male from a pure line, Determine the phenotypic ratios in the F1 and F2 in..
Sociological and behavioral viewpoints : Explain what do you understand by "sociology." Define what is meant by demographic, psychological, sociological, and behavioral viewpoints.
Knowledge and change management are major challenges : Knowledge and change management are major challenges to most organizations. Individual and organizational learning are very different concepts though they are reliant on each other
Choosing a rhetorical mode : If you were allowed to choose a rhetorical mode other than compare-contrast, what type of essay would you choose to write for your final essay? Why?
Write program to store people-s name-phone numbers in array : Write down the program which has the array of at least ten string objects which hold people's name and phone numbers.
Drosophila the genes for wing size : In Drosophila the genes for wing size and bristle length phenotypes long or short are inherited independently.
Expressing disagreement productively : Amber reacts to Tyrone's suggestion for promoting the upcoming concert by putting fliers on cars in the school parking lot by telling him, "That is so idiotic! People hate it when they get those stupid fliers on their cars!" She is not displaying ..
Discuss social networks : Although virtually everyone participates in social networks, we sometimes don't think of them in these terms. Critically discuss social networks, making sure to cover the following:
Speech about whales : Alisha is giving a speech about whales. During her presentation, she used many hand gestures often imitating the whale movements she is speaking about,

Reviews

Write a Review

Programming Languages Questions & Answers

  Write method to display the number by adding hundred

displayItTimesTwo(), and displayItPlusOneHundred(). Write each method to perform the task its name implies. Save the application as TestMethods.java.

  Define class that contains member variable of type string

Define a class named Document that contains a member variable of type String named text that stores any textual content for the document.

  Create program to calculate amount of paint needed

Create a program to calculate the amount of paint needed to cover one side of a house with a sloped roof . Assume tha this house has a rectangular shape with a rectangular window .

  Creating table-find employee attended meeting on given date

The rows of this table record the fact that an employee from a particular project attended a meeting on the given date.

  Write program to calculate cost of flowers sold at stand

Write down the program in class FlowerCounter which calculates the cost of flowers sold at flower stand. Five types of flowers-petunia, pansy, rose, violet, and camation- are stocked and cost.

  Design and write a payroll program

Design and write a payroll program that will prompt the user to enter an employee's hourly pay rate and the number of hours worked.

  Write program to compute volume flow rate

Write program to compute volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

  Travelling salesman problem

Travelling Salesman Problem on the L1-metric plane.

  Write pseudo algorithm which inputs age for valid voting

Write pseudo algorithm which inputs Age, displays "Yes, you can vote" if Age is 18 or older and displays "You are too young to vote" if Age is less than 18, and displays nothing else.

  Identify components that perform distinct service

Identify components that perform a distinct service. Although the details can be quite complex, these details are the basic principles of object-oriented programming

  Write pseudocode for worm moving toward apple

Worm is moving toward an apple. Each time it moves, worm cuts distance between itself and apple by its own body length until worm is close enough to enter the apple. Give pseudocode for this.

  Write potential function to derive valid amortized cost

Consider base 3 counter and de ne actual cost of increment operation to be number of digits which get changed. Provide a potential function which enables you to derive smallest valid amortized cost.

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