Programming Project 4.12 asked you to create a Pizza Order class that stores an order consisting of up to three pizzas. Modify the class to store the pizzas using an array. This will allow the class to include an arbitrary number of pizzas in the order instead of a maximum of three. The set Num Pizzas method can be used to create an array of the appropriate size. The array structure allows you to eliminate the methods set Pizzal, setPizza2, and setPizza3 and replace them with a single method, set Pizza (int index, Pizza new Pizza). Include appropriate tests to determine if the new Pizza Order class is working correctly.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.