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.
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..
|