The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
After reading the chapters in this module, students will design the logic for an application and submit a partially completed Java program.
The BMC Parts Company needs a program that will read the inventory.txt file and create an inventory report based on the data in the file. The inventory.txt file contains the part number, opening balance, number of items sold, and the minimum stock required. The output file, inventoryNeeded.txt, will contain the part number, current balance and the amount that is necessary to bring the inventory to the minimum level.
In this assignment, students will design the logic for the program that reads the input file and creates the output file. Files provided include inventory.txt and the partially completed program inventoryNeeded.java. The program file provided includes the necessary variable declarations and input and output file statements. You need to write the part of the program that reads the input file, calculates the current balance and amount required to bring the inventory to the minimum level. Then output the part number, current balance and the amount needed to the output file.
In this assignment, students will submit both the .java and the .class files for the completed program along with the output file created from the program execution, and the pseudocode. The files will be submitted by the posted due date using the appropriate dropbox.
The pseudocode must be submitted as a Microsoft Word compatible file. Examples of Word compatible documents are those with a .doc, .docx, or .rtf file extension. If there is a question about the format, consult with your instructor before submitting your assignment.
inventory.txt file contains:
Â
QA310954750CM145320162200MS514342025EN212163150160
Module 4 Assignment # 2 InstructionsAfer reading the chapters in this module, students will design the logic For an applicaTon and submit aparTally completed Java program.±he BMC Parts Company needs a program that will read the inventory.txt ²le and create an inventoryreport based on the data in the ²le. ±he inventory.txt ²le contains the part number, opening balance,number oF items sold, and the minimum stock required.±he output ²le, inventoryNeeded.txt, willcontain the part number, current balance and the amount that is necessary to bring the inventory to theminimum level.In this assignment, students will design the logic For the program that reads the input ²le and creates theoutput ²le. ³iles provided include inventory.txt and the parTally completed programinventoryNeeded.java.±he program ²le provided includes the necessary variable declaraTons and inputand output ²le statements. You need to write the part oF the program that reads the input ²le, calculatesthe current balance and amount required to bring the inventory to the minimum level.±hen output thepart number, current balance and the amount needed to the output ²le.In this assignment, students will submit both the .java and the .class ²les For the completed programalong with the output ²le created From the program execuTon, and the pseudocode.±he ²les will besubmi´ed by the posted due date using the appropriate dropbox.±he pseudocode must be submi´ed as a Microsof Word compaTble ²le. Examples oF Word compaTbledocuments are those with a .doc, .docx, or .rµ ²le extension. IF there is a quesTon about the Format,consult with your instructor beFore submi¶ng your assignment.inventory.txt ²le contains:
Attachments: