178 100% + Homework #7. Create a Report Assigned date: posted on 3 Due Datet posted on 18 Concepts: Classes and objects,
Posted: Sat May 14, 2022 6:45 pm
178 100% + Homework #7. Create a Report Assigned date: posted on 3 Due Datet posted on 18 Concepts: Classes and objects, inheritance, working with File System and Exceptions. Point value: 40 points The purpose of this assignment is to give students exposure to OOP and its pilars. Students will work with le system and handle Exceptions in a realistic assignment of daily sales report creation The assignment requires creation of at least four Java classes Placeholders for all of them provided Please submit all Java classes you will create in one file, follow the template provided. Give it a name xx_hw7, where xxxx is your Kean email id. As a result of this assignment, you will create a report in a .doc or .txt format, save it as PDF and attach to your blackboard submission, call it xxx hw.report.pdf, where xxx is your Kean email Id Assignment: A grocery store so both edible and not edible items. Some edible items need to be sold within a short period of time as they are edible only while very fresh. The information about sales is entered through a barcode scanner and stored in a file system. At the end of each day, the top manager requests a worldlow report that consists of three parts. Each bart starts on a new page and has a header in this assignment we we creating a report for December 4, 2021 Your report will consist of the following parts Part Its all items sold within the day (on December 4, 2021) sorted by the purchase timestamp and provides total revenue sum of all prices and an average price of items sold for the day at the end of the • Part 2 all items sorted by their price in ascending order (cheapest on to • Part 3rovides allibleme sorted by their supration date (expiring sooner on top) TASE 1 roto writing your code you will create an input file for this assignment (input) yourself Goethe Creatinput ched to the assignment and analyze code. Find the 20 array of tas no add three more grocery items and their type of your choice into this amay. In the same code Find any of our add two more countries of your choice to the Day TAK. Cras for your suggested and finalproject). Create news Cateur in this and the code of the Create Chang your han theo your mouth and we every you Door het inte attache mi Note Mature have the image 230 23.5 were har de therefore the 1) The the jete o SEN BURE 6 3 $ 4 5 & 7 8 - 9 W E R. T Y U 0 Р S D F G H C к L Х C V В. N. < M > 94
1/8 me porosive SSCOS ODOS OS file system and handle Exceptions in a realistic assignment of daily sales report creation The assignment requires creation of at least four Java classes Placeholders for all of them provided. Please submit all Java classes you will create in one file, follow the template provided. Give it a name xxxx_hw7, where xxx is your Kean email id. As a result of this assignment, you will create a report in a .doc or .txt format, save it as PDF and attach to your blackboard submission, call it XXXX_hw7_report.pdf, where xxx is your Kean email id. Assignment: A grocery store sells both edible and not edible items. Some edible Items need to be sold within a short Deriod of time as they are edible only while very fresh. The information about sales is entered through a barcode scanner and stored in a file system. At the end of each day, the top manager requests a workflow report that consists of three parts. Each part starts on a new page and has a header. In this assignment we are creating a report for December 4, 2021. Your report will consist of the following parts • Part 1: lists all items sold within the day (on December 4, 2021) sorted by the purchase timestamp and provides total revenue sum of all prices) and an average price of items sold for the day at the end of the list Part 2 lists all items sorted by their price in ascending order (cheapest on top). Part 3 provides all edible items sorted by their expiration date (expiring sooner on top) TASK I. Prior to writing your code you will create an input file for this assignment (input.txt) yourself Open the CreateInput.java file attached to this assignment and analyze its code. Find the 2D array of toms and add three more grocery items and their type of your choice into this array. In the same code und an array of countries and add two more countries of your choice to this ID array TASK 2 Creste a package for your project (suggested name finalproject). Create a new class CreateInput in the page and co-paste the source code of attached CreateInput jawa there (having your additional data in it. Run the code. Your input will be created randomly and will be different every time you run this program Debug and fix the errors if any. You will need to attach. Created to your submission. Noter Make sure all your mon have 2.blaces to the right of the decimal point samole 23.80 and 23.8. TASE 3. y dotat, the input the input txt will be created in another folder under your project in your workspace will your source is located inside of the arc folder of the project (see Figure the Input le need to the beastly moved inside of the final project folder/package under source code Mide of the protes your project ancirina project folder toplowing tasks that require Ochotting Createnpur class in the package per me wow me what to the meaninchen code Art to change the Creathe mut.cat Expected code change the favorite 6 c G Search of the URL 3 2 3 4 A 7 5 6 8 9 a E R T Y U o Р S D F G H H J K X c V 00 B N. M
1/8 me porosive SSCOS ODOS OS file system and handle Exceptions in a realistic assignment of daily sales report creation The assignment requires creation of at least four Java classes Placeholders for all of them provided. Please submit all Java classes you will create in one file, follow the template provided. Give it a name xxxx_hw7, where xxx is your Kean email id. As a result of this assignment, you will create a report in a .doc or .txt format, save it as PDF and attach to your blackboard submission, call it XXXX_hw7_report.pdf, where xxx is your Kean email id. Assignment: A grocery store sells both edible and not edible items. Some edible Items need to be sold within a short Deriod of time as they are edible only while very fresh. The information about sales is entered through a barcode scanner and stored in a file system. At the end of each day, the top manager requests a workflow report that consists of three parts. Each part starts on a new page and has a header. In this assignment we are creating a report for December 4, 2021. Your report will consist of the following parts • Part 1: lists all items sold within the day (on December 4, 2021) sorted by the purchase timestamp and provides total revenue sum of all prices) and an average price of items sold for the day at the end of the list Part 2 lists all items sorted by their price in ascending order (cheapest on top). Part 3 provides all edible items sorted by their expiration date (expiring sooner on top) TASK I. Prior to writing your code you will create an input file for this assignment (input.txt) yourself Open the CreateInput.java file attached to this assignment and analyze its code. Find the 2D array of toms and add three more grocery items and their type of your choice into this array. In the same code und an array of countries and add two more countries of your choice to this ID array TASK 2 Creste a package for your project (suggested name finalproject). Create a new class CreateInput in the page and co-paste the source code of attached CreateInput jawa there (having your additional data in it. Run the code. Your input will be created randomly and will be different every time you run this program Debug and fix the errors if any. You will need to attach. Created to your submission. Noter Make sure all your mon have 2.blaces to the right of the decimal point samole 23.80 and 23.8. TASE 3. y dotat, the input the input txt will be created in another folder under your project in your workspace will your source is located inside of the arc folder of the project (see Figure the Input le need to the beastly moved inside of the final project folder/package under source code Mide of the protes your project ancirina project folder toplowing tasks that require Ochotting Createnpur class in the package per me wow me what to the meaninchen code Art to change the Creathe mut.cat Expected code change the favorite 6 c G Search of the URL 3 2 3 4 A 7 5 6 8 9 a E R T Y U o Р S D F G H H J K X c V 00 B N. M