Reference no: EM13975548
Requirements:
Input: Create a shopping list of 7 items (in an array).
Take input from the user that puts the shopping item name and priority into an array, multiple arrays ok.
Set the price for all the items in the shopping list down to the penny. (Make sure the total of the items > $100.00)
Sort the items in the list by order of priority
Present the items back to the user and have the user determine the order of importance for the item to purchase.
Only have one entry of any type in the list, list entry name (ex. Apple). If the user tries to add the same item twice tell the user that it is already on the list.
Set the price, cost, of each item down to the penny.
Now go shopping , purchase as many items on the list by priority, using $59.00
Purchase the highest priority items first then go to the lower priority items and purchase them as needed, minimizing the amount of money left over.
Display the list of what was purchased, its price, and what wasn't purchased, and its price (what could be used for the next shopping list).
Program must have:
Create an equals method for every physical class.
Make attributes private
Have get and set methods to access items in the shopping list
Have defined class constructors
Include multiple classes(you determine what classes to create, what make sense)
Include pseudo code, UML diagram, test plans, and .java file
No string buffers, array lists, vectors, or IO buffers
Hint: You can use more than one array or multidimensional arrays
*Submit your assignment with all .java classes in separate files bundled with your documentation into one .zip file.>
How do advertisers try to use group influence
: How do advertisers try to use group influence? Can you find any specific examples and describe the relevant theory of group behavior an influence?
|
Describe the electric field in the three regions
: The figure shows a spherical conducting shell, inner radius a, and outer radius b, with a point charge + Q inside. In case (1) the point charge is at the center of the shell, and in case (2) it is off-center. Use Gauss's law to predict the charge ..
|
Identify the market that the graph is depicting
: Draw a graph, label the axes and identify the market that the graph is depicting and explain in words how either the demand or supply curve moves given the discussion in the article
|
Comment on the dean explanation
: If this university's overall pass rate for the Maryland bar exam were really 76%, what would be the probability of a simple random sample of 400 having a pass rate of 60% or less? Based on this probability, comment on the dean's explanation.
|
Display the list of what was purchased
: Create a shopping list - Present the items back to the user and have the user determine the order of importance for the item to purchase.
|
What is the total profit for the supply chain now
: What quantity should Tom order if he wishes to maximize his expected profit? What is the total profit for the supply chain now?
|
Problem regarding the test the potential customer
: Given the longevity of the vendor's bulbs and the test the potential customer will be carrying out, what is the prob- ability that the vendor will get the contract?
|
Relationship b/w the housing market and monetary policy
: The topic is the Alan Greenspan's monetary policy regarding the housing market. I only want to focus on the relationship bwtween the housing market and monetary policy (or the Federal Funds rate). This is an opinion paper, and the audience should ..
|
Problem regarding the psychic phenomenon
: Given the probability you've calculated, would you suggest that Donald drop his plan to list himself in the yellow pages as a psychic phenomenon?
|