Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help :) create a design document that describes the program structure that will produce the program you created in the picture below. keep in

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.
image text in transcribed
image text in transcribed
This below is the example of the program structure
image text in transcribed
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++ image text in transcribed
image text in transcribed
This is the example of the program structure
image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

Describe contextual influences on direct financial compensation.

Answered: 1 week ago

Question

Describe legally required benefits.

Answered: 1 week ago

Question

Discuss career development and career development methods.

Answered: 1 week ago