3 unsigned long int money = 0;
4 unsigned long int num_items = 0;
5 unsigned long int items_sold = 0;
11 status[0].item_name = "cola";
12 status[0].price = 230;
13 status[0].times_sold = 0;
14 status[1].item_name = "mate";
15 status[1].price = 150;
16 status[1].times_sold = 0;
17 for (c = 2; c < MAX_ITEMS; ++c)
18 status[c].item_name = NULL;
22 status[0].times_sold=23;
23 status[1].times_sold=42;