Reference no: EM13161793
Inventory Program
Write a program that uses a structure to store the following inventory data in a file:
Item Description Quantity on Hand Wholesale Cost Retail Cost
Date Added to Inventory
The program should have a menu that allows the user to perform the following tasks:
Add new records to the file.
Display any record in the file.
Change any record in the file.
Input Validation: The program should not accept quantities, or wholesale or retail costs, less than 0. The program should not accept dates that the programmer deter- mines are unreasonable.
2 Inventory Screen Report
Write a program that reads the data in the file created by the program in Program- ming Challenge 13. The program should calculate and display the following data:
The total wholesale value of the inventory
The total retail value of the inventory
The total quantity of all items in the inventory
The rpn calculator program
: The RPN calculator program should read the RPN expression as an entire line from stdin.Input will consist of a single line. After completing the evaluation of the expression, the program should print the contents of the entire stack, starting with th..
|
Function which correctly sorts three
: Write an x8086 HLA Assembly language program that implements a function which correctly sorts three parameters and returns a boolean value in AL which should be set to true if any swaps were performed to sort the sequence in increasing order.
|
Cashregister class that can be used with the retailitem clas
: Write a CashRegister class that can be used with the RetailItem class that you wrote in Part 1. The CashRegister class should simulate the sale of a retail item. It should have a constructor that accepts a RetailItem object as an argument.
|
Shows the users name and program name
: Java program, the program has a page that shows the users name and program name. a second jpanel that shows 4 buttons (circle square rectangle and oval) the problem i am having is that my program is not dropping where i click and the shapes are not s..
|
The program should not accept quantities
: Input Validation: The program should not accept quantities, or wholesale or retail costs, less than 0. The program should not accept dates that the programmer deter- mines are unreasonable.
|
Perform an insertion sort on the file pointed
: Using only the local data already supplied in FileSort, perform an insertion sort on the file pointed to by fd. Use lseeks for this; do not try to create any sort of array or list. An array-based version of insertion is supplied for your reference.
|
Using matlab and for loops
: Using MATLAB and for loops, provide an animation that follows the below steps: Start with a square at the origin with each side being 5 units long. Imagine someone kicked the box and animate it moving on a projectile motion trajectory. Hint: look at ..
|
Postorder traversal print a heap in sorted order?
: Will preorder, inorder, or postorder traversal print a heap in sorted order? why or why not? use the following numbers to prove your point 85 86 88 89 90 91 92
|
Compute the union and intersection of two sets
: How can you compute the union and intersectio of two sets, using some of the methods that the set interfce provides? hint: your code should not be bigger than four lines
|