Christopher Miller's portion*

 If the user chooses the main menu item Manage Inventory

                        Choose from four new submenu items

                                    choose submenu item Enter New 
Inventory Information

                                                Enter_New_Inv_Info()

                                                            Prompt 
user for *WineID*

                                                If WineID does not 
exist

                                                            Prompt 
user for *WineMaker*

                                                            Prompt 
user for *WineName*

                                                            Prompt 
user for *QtyOnHand*

                                                            Prompt 
user for *Cost*

                              Prompt user for *Price*

      Prompt user for *DrySweet* Attribute

                                                            Prompt 
user for *RedWhite *Attribute

                                                            Prompt 
user for *FruityOakey *Attribute 
                                                           Prompt 
user for * alcohol_nonalcohol*Attribute

                                                            Prompt 
user for *Body *Attribute

      AddWineToInventory()

                                                  Return to Manage 
Inventory Menu

                                                Else

                                                    Print Error 
Message and return to WineID prompt

              If the user chooses the submenu item List Wine 
Inventory

                       Display_Wine_List()

SortInventory(alphabetically by wine name in descending order)

      For all WineID in SortedInventory with QuantityOnHand > 0

      Print(WineID);

      Return to Manage Inventory Menu











To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to