/* pizza.h    A struct for pizza data */
/* P. Conrad for CISC105, Project 3, Fall 2005 */


/* NOTE: every .h file you ever write should start with
   the two lines #ifndef and #define below, and should end with
   a matching #endif.   

   The #ifndef and #define lines are both followed by a symbol
   which is the same as the name of the .h file, but with the .
   replaced by an _, and converted to all uppercase.

   The reason is explained on pp. 670-674 and p. 684 of Hanly and Koffman 4e,
   though they use #if !defined (PIZZA_H_INCL) instead, which is
   equivalent )    */

#ifndef PIZZA_H
#define PIZZA_H


#define PIZZA_TOPPING_NAME_LEN 20 
#define SALAD_DRESSING_NAME_LEN 20 



struct PizzaOrder_S
{
  char topping[PIZZA_TOPPING_NAME_LEN]; /* e.g. green peppers */   
  int numPizzas;                      /* how many pizzas you want */
  double price;                        /* e.g. 9.99 */
  char saladDressing[SALAD_DRESSING_NAME_LEN]; /* e.g. thousand island */
};

/* remember to end struct definitions with a ; after the final } */


#endif /* PIZZA_H */






