Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dr. Hunter teaches three sections of her Intro to Computer Science class. She has 12 students in section 1, 8 students in section 2, and

Dr. Hunter teaches three sections of her Intro to Computer Science class. She has 12 students in section 1, 8 students in section 2, and 10 students in section 3. In the
Chap07 folder of the Student Sample Programs, you will find the following files:
• Section1.txt—This file contains the final exam scores for each student in section 1.
(There are 12 integer scores in the file.)
• Section2.txt—This file contains the final exam scores for each student in section 2.
(There are 8 integer scores in the file.)
• Section3.txt—This file contains the final exam scores for each student in section 3.
(There are 10 integer scores in the file.)
Create an application that reads these three files and stores their contents in a jagged array. The array’s first row should hold the exam scores for the students in section
1, the second row should hold the exam scores for the students in section 2, and the third row should hold the exam scores for the students in section 3.
The application should display each section’s exam scores in a separate List Box control and then use the jagged array to determine the following:
• The average exam score for each individual section
• The average exam score for all the students in the three sections
• The highest exam score among all three sections and the section number in which that score was found
• The lowest exam score among all three sections and the section number in which that score was found

Step by Step Solution

3.43 Rating (150 Votes )

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

College Algebra Graphs and Models

Authors: Marvin L. Bittinger, Judith A. Beecher, David J. Ellenbogen, Judith A. Penna

5th edition

321845404, 978-0321791009, 321791002, 978-0321783950, 321783956, 978-0321845405

More Books

Students also viewed these Computer Network questions