Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Following are grades of nine students corresponding to the subjects Art, Math, CS and Chem. int [ ] [ ] grades = { { 8

Following are grades of nine students corresponding to the subjects Art, Math, CS and
Chem.
int[][] grades ={{85,78,95,71},{90,87,68,91},{99,82,73,80},{65,98,72,94},{88,
91,63,56},{79,92,69,83},{90,93,84,78},{67,90,83,88},{100,86,86,91},};
Write code to compute:
1) The average CS grade of all students.
2) The highest grade among all the CS grades.
3) The number of students taking CS who have earned a B grade (grades 80 to 89).
4) The total number of B grades regardless of the subject (grades 80 to 89).

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_2

Step: 3

blur-text-image_3

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

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

What are ways to get ideas for a specific communication?

Answered: 1 week ago