CJCoding With Joseph

Gradebook Average Class

Create a class Gradebook whose constructor stores an int[] of grades. Add an Average() method that returns the mean of the grades as a double. Do not write a Main method.

For grades 80, 90, 100 the program prints:
90

Expected Output:

90
Topics:
Classes
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.