Please help :) create a design document that describes the program structure that will produce the program you created in the picture below. keep in mind we will be using c++ to create this program.
This below is the example of the program structure
please help! :create a design document that describes the program structure that will produce the diagram you showed below. remember we will use this in c++
This is the example of the program structure
Welcome to Build Your Inuentory LAE I want to Quit Erie Program | 1 choose Edie Inventory 1) Select by category If choose 1) Create a new Inde Select Category Books 10) Movies ili) Others 1) Leare program =) Give name of Thutery ABC 1.10) Books -) Add site ) Add auther c) Add genre 1) ISBN e) Condicions 2. W Save Inventory (1) Surt Inventory (c) Leare program (A) Fare UEA Sory Enter Inventory Hit enter () List of all interes ther more with cargo d) Select Inventory 2) Open la entory for editing a) Add new item 1) Delete existing Hon c) Hodily item d) Leave program 2. Add new 140 - Add Item dels Come fare.) -Aed question - Save " Your inventory Sourd ** " r>" () Sort Inventary 2b. Delete existing them His delete - ABC will be ed Yes Sort A. Sert P- A fort by dote () Leare program Seve 2c. Modity Hem - Select 147m - Cor details [nant.features. * - CorSave O sore No! Sartas Discord) ] A dratt d) Leave program - "Want to leared continue laver Yes Current inentory Continue editing inentory Exie program If choose (c): EXIT PROGRAM Initialization, State='open'; While user has not asked to quit [state='quit'] Do a switch on state: For case 'open' Ask user if he wants to 1 start a new inventory 2 open an existing inventory 3 quit Do a switch on response For response 1 (start new] State is 'new For response 2 [open inventory] State is 'list_files' For response 3 [quit] State is quit Default Display 'Do not mock me with bogus input! For case 'new Ask user for a name Get name Create file named name.in State is 'ready For case 'list_files Read directory for iny files Display files in numbered list Ask user which inventory they want Get number Welcome to build Your Inventory Quit Ene Progrom at choose Eore Inventory 1) Select by category If choose 1) Create a new inventory =/select category (1) Books (11) Movies (1) Others (10) Leave progrom => Give name of inventory a ABC 11) Books -) Entertwestory 6) Hic enrer " () Sort Inventary 2b. Delete existing them His delete - ABC will be ed Yes Sort A. Sert P- A fort by dote () Leare program Seve 2c. Modity Hem - Select 147m - Cor details [nant.features. * - CorSave O sore No! Sartas Discord) ] A dratt d) Leave program - "Want to leared continue laver Yes Current inentory Continue editing inentory Exie program If choose (c): EXIT PROGRAM Initialization, State='open'; While user has not asked to quit [state='quit'] Do a switch on state: For case 'open' Ask user if he wants to 1 start a new inventory 2 open an existing inventory 3 quit Do a switch on response For response 1 (start new] State is 'new For response 2 [open inventory] State is 'list_files' For response 3 [quit] State is quit Default Display 'Do not mock me with bogus input! For case 'new Ask user for a name Get name Create file named name.in State is 'ready For case 'list_files Read directory for iny files Display files in numbered list Ask user which inventory they want Get number Welcome to build Your Inventory Quit Ene Progrom at choose Eore Inventory 1) Select by category If choose 1) Create a new inventory =/select category (1) Books (11) Movies (1) Others (10) Leave progrom => Give name of inventory a ABC 11) Books -) Entertwestory 6) Hic enrer