27a_Assignment_8

27a_Assignment_8 - Assignment 8 - Arrays of Flying Pizzas...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment 8 - Arrays of Flying Pizzas Select one option from the four below. All options are worth the same number of points. The more advanced options are provided for students who find the basic ones too easy and want more of a challenge. Make sure you have read and understand the Modules Information About Programming Assignments and Style Rules for Assignments before submitting this assignment. Hand in only one program, please. OPTION A (Basic): A Pizza Order Class Create a class called PizzaOrder that has the following members: toppings_offered[] - a constant array of Strings representing the choice of low-price toppings, e.g., { "onions", "bell peppers", "olives", "pepperoni". .. }. This member is public and is a static class member . toppings_base_cost - a constant double representing the cost of budget topping on a small pizza. This member is public and is a static class member . base_price - a constant double representing the cost of a small plain pizza. This member is public and is a static class member . size - an int 0 ( small ), 1 ( medium ) and 2 ( large ). This is a private i nstance member . toppings[]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/21/2011 for the course CIS 27A taught by Professor Unknown during the Spring '07 term at Foothill College.

Page1 / 3

27a_Assignment_8 - Assignment 8 - Arrays of Flying Pizzas...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online