Demonstrate an understanding of working with arrays

Assignment Help Computer Engineering
Reference no: EM131272001

Lab

Goal: The purpose of this lab is to demonstrate an understanding of working with arrays as instance variables.

You are working at Mama Francesca's Pizza Store. Your boss has asked you to create a new pizza ordering system to help customers buy pizzas. The store only sells one size of pizza, costing $10.00, but customers have the opportunity to add toppings (one at a time) to their pizza according to the following price chart.

Topping Cost
Pepperoni $1.50
Mushrooms $0.75
Sausage $2.50
Green Peppers $1.25

Note: A user cannot add a topping to their pizza more than once. In such a case, the user should be notified of an error.

Create an object oriented solution that allows a customer to purchase between 1 and 3 pizzas, add toppings to each pizza, if desired, and then displays a receipt, including the details for each pizza, a pretax

Total amount, and a grand total amount including 6% tax. Hint: When thinking about a validating mutator for adding a topping, think how the mutator might not just return true or false. Rather, it might return an integer that describes one of three possibilities: The topping was added to the pizza, the topping was not added to the pizza because it's already on it, or the topping was not added to the pizza because it was an invalid topping selected Note: Remember the good design principles you have already learned in the course. In addition, you must demonstrate use of an array as an instance variable. Do not use ArrayLists and make sure your implementation class uses methods other than just main(). The example run below shows how the program would run. Pay careful attention to the sample run and try to have your program run exactly the same.

Reference no: EM131272001

Questions Cloud

Guidance system of ship-what is reliability of the computer : The guidance system of a ship is controlled by a computer that has three major modules. In order for the computer to function properly, all three modules must function. Two of the modules have reliabilities of .97, and the other has a reliability of ..
Read an email message : Our final company orientation of the year will be held on Dec. 20. In preparation for this session, please order 120 copies of the Policy handbook, the confidentiality agreement, the employee benefits Manual, please let me know if you anticipate any ..
Compute overall system reliability under plan : A production line has three machines A, B, and C, with reliabilities of .91, .93, and .86, respectively. The machines are arranged so that if one breaks down, the others must shut down. Engineers are weighing two alternative designs for increasing th..
What is the amortization amount : what is the amortization amount reported as an "other expense" on Schedule C - How should he report these activities on his Year 2 return?
Demonstrate an understanding of working with arrays : The purpose of this lab is to demonstrate an understanding of working with arrays as instance variables. Your boss has asked you to create a new pizza ordering system to help customers buy pizzas.
Create class named circle with fields named radius and area : Create a class named Circle with fields named radius, area, and diameter. Include a constructor that sets the radius to 1. Also include public properties for each field.
Creating a domain model class diagram : Creating a Domain Model Class Diagram-  Use at least three quality resources outside of the suggested resources in this assignment. Note: Wikipedia and similar Websites do not qualify as quality resources.
Will this equalizer improve system performance : find the noise power at the output of your equalizer within the 100-kHz bandwidth of interest. Will this equalizer improve system performance?
Find the output snr when beam forming is used : Assuming ρ = 10 dB, find the output SNR when beam forming is used on the channel with equal weights on each transmit antenna and optimal weighting at the receiver. Compare with the SNR under beam forming with optimal weights at both the transmitte..

Reviews

Write a Review

Computer Engineering Questions & Answers

  What solution would you propose for the company

What solution would you propose for this company? Discuss the role that data modeling would play in a project to solve this problem.

  Hhf employees to recognize and avoid malware treats

give screenshots and an explanation of your results when you download, install, and run a security program such as Spybot - S&D.

  What do you mean by lan subnet write downnbsp some of the

what is a lan subnet? what are some of the strategies for a network administrator to consider use subnetting why do

  There is a common misconception that analog technology is

there is a common misconception that analog technology is no longer used in the transmission of digital data. however

  Explain a mechanism by which an operating system can

describe a mechanism by which an operating system can enforce limited transfer of capabilities.that is process a might

  Describe the methods for establishing component priorities

Describe the methods for establishing component priorities, including Business functions and processes b. BIA scenarios and components c. Financial and service impact of components not being available d. Recovery time frameworks.

  Analyze the changes in 4g technology since the printing of

there are a number of cellular phone companies each serving their own unique geographical areas. likewise they each may

  Define in detail minimum five practices

Your Web design firm has just hired a talented graphic artist with years of expertise in print media and no experience with producing image production. You have to train this person in the best practices for Web graphics. Explain in detail minimum..

  Make use to effectively manage a team of system

Are different management techniques needed for managing technical personnel versus nontechnical personnel.

  Using the tools and framework learned in class and

using the tools and framework learned in class and throughout the program prepare a 15-page strategy audit of your

  1custom decision support system for an international

1.custom decision support system for an international airlinea major international airline of your choice wants to

  Make an html page with a form for client

make a form using JavaScript that collects client body statistics and customer contact information for record keeping and marketing purposes.

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