Question: Create an Executive Summary in a 2 slide Microsoft PPT presentation using the following: The abstract data type algorithm headers for the inventory system, including:
Create an Executive Summary in a 2 slide Microsoft PPT presentation using the following:
The abstract data type algorithm headers for the inventory system, including: name, parameters, purpose, preconditions, post conditions, return value types, and the pseudocode definitions for a textbook data structure and a student data structure.
| Purpose of Variable | Variable Name | Return Value | Precondition | Post Condition | Parameters |
|---|---|---|---|---|---|
| Stores the cost of the Book | bookCost | Cost of book | Number with two decimal places |
|
|
| Stores the name of the Book | nameBook | Book title | Text |
|
|
| Stores number of books available | bookQuantity | Count of book in inventory | Integer | Equals bookQuantity minus booksOrdered |
|
| Stores the number of books ordered | booksOrdered | Number of books ordered | Integer |
|
|
| Stores the calculated total of order | totalOrder | Total of bookCost x booksOrdered | Number with two decimal places |
|
|
| Stores student credentials | studentName | Student Name | Text |
|
|
| Stores address of student | studentAddress | Address | Text |
|
|
| Stores the itemized receipt | studentReciept | Receipt document |
| Report includes nameBook, booksOrdered, bookCost, totalOrder |
|
| Stores the order confirmation | orderConfirmation | Displays message Order Received |
|
|
|
Step 1:
Input credentials
If correct - Display Welcome to the University Library studentName
Else Display Incorrect Credentials
Input nameBook
If found - Display the name of the Book, Display Cost of book, Quantity of Books
Else Display Not found, Display out of stock
Input books_ordered
Display How many Books in order?
Set totalOrder = bookCost * booksOrdered
Display For studentName, the total cost will be $, totalOrder
Input address
Display Items will be delivered to studentAddress
Input order confirmation
If confirmed orderConfirmation
Else return to booksOrdered
output studentReciept
Display The itemized receipt for student
Textbook Inventory
Input nameBook Enter the book title
Input bookCost Enter the sell price of the book
Input bookReceived Enter the count of books received for sale
When a book is sold:
Input new orderConfirmation
New.bookQuantity = bookQuantity booksOrdered
Display The current quantity for + Namebook + is + bookQuantity
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
