Zebra0.com

MCJava program: Statistics

Java program: Statistics

Create a Java program that gives statistics for a list of grades

Your program will loop to enter grades for each student until a negative grade is entered. When a negative grade is entered you will print the statistics shown below.

  1. Print the number of students
  2. Print the average grade
  3. Print the lowest and highest grade
  4. Print the number of students who passed
  5. Print the number of students who failed

Guidelines:

Your program should read in the first value and assign it as lowest and highest rather than setting lowest and highest to some arbitrary values.

Grading Rubric

Rubric Points
Program works correctly, no errors 5
Comments, good names, indented 1
Clear user interface 1
Word document and Java File 1
Screen shots show good test data 2

 

Standards

If you do not receive a perfect score you may resubmit it as long as it is resubmitted within 3 days.
Assignment Index

This web site, and all pages therein, are the sole property and responsibility of Zebra0.com.
It is not endorsed, sponsored, or provided by or on behalf of Montgomery College.