Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create file two-dim-array_stud_marks.txt include 62,85,73,76,73 63,62,80,82,96 72,66,89,76,98 36,93,87,85,83 68,66,86,68,64 73,87,88,60,95 64,56,86,61,78 66,79,73,65,81 71,88,79,55,74 71,69,79,90,82 49,86,97,59,84 14,96,53,95,98 66,98,56,53,89 72,94,95,54,98 72,57,66,75,89 70,91,72,53,76 62,98,81,85,88 81,80,73,84,61 73,93,70,88,66 32,68,75,93,71 86,65,70,97,60

Create file two-dim-array_stud_marks.txt include

62,85,73,76,73

63,62,80,82,96

72,66,89,76,98

36,93,87,85,83

68,66,86,68,64

73,87,88,60,95

64,56,86,61,78

66,79,73,65,81

71,88,79,55,74

71,69,79,90,82

49,86,97,59,84

14,96,53,95,98

66,98,56,53,89

72,94,95,54,98

72,57,66,75,89

70,91,72,53,76

62,98,81,85,88

81,80,73,84,61

73,93,70,88,66

32,68,75,93,71

86,65,70,97,60

63,96,59,61,78

76,83,92,68,98

61,86,86,56,52

91,82,87,81,95

50,96,75,66,69

73,55,65,90,87

87,69,81,53,62

98,94,88,88,71

. 2. Write a java program that does the following:

- 2.1. read the information in the file, which represents marks of some students in courses of a semester, and store these marks in a two dimensional array (student-by-mark).

- 2.2. Compute the average mark of each student. 2.3. Find the maximum mark for each student. 2.4. Find the minimum mark for each student. 2.5. Find the maximum mark overall.

- 2.6. Find the minimum mark overall.

- 2.7. Print the output of the tasks in 2.2-2.6 in a file called output.txt.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

13. Verify the statement made in the remark following Example 10.2.

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago