Question: c# Create a class named Pizza. Data fields include a string for toppings (such as pepperoni), an integer for diameter in inches (such as 12),
Create a class named Pizza. Data fields include a string for toppings (such as pepperoni), an integer for diameter in inches (such as 12), and a double for price (such as 13.99). Include properties to get and set values for each of these fields. Create a class named Test Pizza that instantiates one Pizza object and demonstrates the use of the Pizza set and get accessors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
