- Design an application (submit pseudocode) that declares an array of 10 pizza objects. Prompt the user for toppings and diameter of each pizza, and pass an object to a method that computes the price and returns the complete pizza object to the main program. Then display all the Pizza values. A 12-inch is a 13.99, a 14-in pizza is 16.99, and a 15-inch pizza id 19.99. Any other entered size invalid and should cause the price to be set to zero.
Explanation of pseudocode: Declare an array pizza of size 10. Declare a while loop with the... View the full answer
Sign up to view the full answer
Declare pizza[ 10 ] while 0 < 10 write "Enter toppings and diameter of each pizza" input... View the full answer