Assignment 4: 20 marks No minor-clarifications will be provided. Assignments are also meant to improve your decision-making. Any major change (unlikely) will be clarified from our side on Piazza. But take your call on implementation level details.
Write a Java program assignment4.java, that takes three command line arguments: two csv files
(samples given below), and a function name. Based on the function name, your program output changes.
Implement the information in the two csv files as a graph and write functions to output the following:
(a) Function: average. Should print the average number of characters each Marvel character is
associated with, as a float upto two decimal places.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 1 | 2 | 3 | 4 | 5 |