Complete the following tasks:

  • Design a class named Pizza. Data fields include a string field for toppings (such as pepperoni), numeric fields for diameter in inches (such as 12), and price (such as 13.99). Include methods to get and set values for each of thee fields. Create the class diagram and write the pseudocode that defines the class.
  • Design an application that declares two Pizza objects and sets and displays their values.
  • Design an application that declares an array of 10 Pizzas. Prompt the user for data for each of the Pizzas, then display all the values.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.