Sie sind auf Seite 1von 2

Library System Flow Chart

START

MAIN MENU

Add book info? Update book info? View book info? Delete book info? Exit?

ADD BOOK INFO

UPDATE BOOK INFO

VIEW BOOK INFO

DELETE BOOK INFO

Add book information panel

Edit book information panel

View book information panel

Delete information panel

User inputs Book title and other index = 0 x=0

Input values saved in Book array [last index +=1]

PRINT Book array index [x]

loop

Add more?

YES

Book array [x++]

true

x must be less than or equal to the last index


false

Back to Main Menu

List of Book Titles

User inputs Book title # and the program will Print Book array [input#]

Edit Checks if the book is available for borrowing or not Status Info? Status? Edit? Delete? Back? Yes? No?

No

Delete

Yes true Borrow data saved. false Info Book array [input#] = null

Cannot borrow book.

User inputs new info

Back Back to Main Menu

Book is now borrowed.

Input values saved in Book array [input#]

Process that fills the Book array [input#] with the value of the next array and the next arrays value will be replaced with the preceding array and so on.

Main Menu

Back to: List? Main Menu?


List Main Menu

List

Back to: List? Main Menu?

EXIT

STOP PROGRAM