Customer name on a screen in the supermarket

Assignment Help Business Management
Reference no: EM131267257

A supermarket wants to reward its best customer of each day, showing the customer's name on a screen in the supermarket. For that purpose, the customer's purchase amount is stored in an arraylist<double> and the customer's name is stored in a corresponding arraylist<string>.

Implement a method

Public static string nameofBestCustomer (array<double> sales.

Arraylist<string> customers)

That returns the name of the customer with the largest sale.

Write a program that prompts the cashier to enter all prices and names, adds them to two array lists, calls the method that you implemented, and displays the results. Use a price of 0 as a sentinel.

Must use constants, implement validations for numeric input and comment program.

Reference no: EM131267257

Questions Cloud

Describe the factors that affect the promotional mix : Describe the factors that affect the promotional mix.- Explain the difference between a "pull" and a "push" promotional strategy.
Explains the overview and the structure of your program : Final result should be organized as a document which explains the overview and the structure of your program, real code, execution results (including captured image), and the conclusion including justification of your program.
Discuss the differences between formulas and functions : Discuss the differences between formulas and functions. Pick a function in Excel and discuss how that function is used to calculate results in your worksheets. Review your classmates' posts to make sure that you're not duplicating formulas or func..
Describe what is meant by the term issue link : Describe how the spotlight is shining squarely on the incident in Stage One. What are the key characteristics of this stage, and how are they manifested in both the traditional, mainstream, and social media? Include two recent examples to illustra..
Customer name on a screen in the supermarket : A supermarket wants to reward its best customer of each day, showing the customer's name on a screen in the supermarket. For that purpose, the customer's purchase amount is stored in an arraylist and the customer's name is stored in a correspondi..
Advantages and disadvantages of binary search tree structure : Explain the advantages and disadvantages of binary search tree structures. Discuss ways to quantify performance.
Geographic and demographic information on the region : Share your country choice for the final project and the reasoning behind this decision. Next, visit the World Atlas (http://www.worldatlas.com/) and The World Factbook (https://www.cia.gov/library/publications/the-world-factbook/) to begin collec..
Differences in employee privacy laws : Our management team is worrying about the differences in employee privacy laws in these locations and we are asking you to research the differences in employee privacy laws and regulations and compare them to the ones in US/Illinois as well as US/..
Identify the topic of your programming project : What disadvantages are there, if any, to very large functions? Identify the topic of your Programming Project. Describe which C features it will use (there should be several).

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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