Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Plz solve this . need it quickly plz 2. File handling is an important part of any application. Assume that, you are asked to [CO3,C3,
Plz solve this . need it quickly plz
2. File handling is an important part of any application. Assume that, you are asked to [CO3,C3, build an application to find the sum of grade in a file. Assume that you have to read Mark: 7] the data of customer.txt", "salesman.txt" and print the sum of grade to an output file "File2.txt" when the commission of the salesman is greater than 0.12. All of the data in the input file are comma separated. In customer.txt you are given the customer id, grade and salesman id of the student. And in the salesman.txt you are given the salesman id, city and commission of sales. Assume that all file data are comma separated. Your task is to compute the sum of the grade from both files based on the previously stated condition and print the grade to another file. customer.txt customer id 3002 3007 3005 3008 3004 3009 3003 3001 grade 100 200 200 300 300 100 200 200 salesman_id 5001 5001 5002 5002 5006 5003 5007 5005 Page 1 of 2 Scanned with CamScanner 20 January, 2022 salesman.txt salesman_id 5001 5002 5005 5006 5007 5003 city New York Paris London Dhaka Rome Vienna commission 0.15 0.13 0.11 0.14 0.13 0.12 Design a JAVA application that can perform the task with the given scenario. 3. Write a generic function staticStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started