Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~185 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Andrew_70

/** * @param args the command line arguments */ public double averagegrades(double total, double average) { average = total/5; return average; } public static void main(String[] args) { Scanner input = new Scanner(System.in); double[] grades = new double[5]; double total = 0; double average = 0; for(int i=0; i<5; i++){ …

Member Avatar for rproffitt
0
36
Member Avatar for Andrew_70

New to Java and would appreciate the help with the assignment: Write a program to collect exam grades from keyboard until an invalid grade (grade less than 0 or bigger than 100) inputted. Find how many grades were entered, the corresponding average grade, how many grades above 90, and how …

Member Avatar for Tori_1
0
106
Member Avatar for Andrew_70

public static void main(String[] args) { int agrades = 0; int fgrades=0; int count=0; Scanner input = new Scanner(System.in); System.out.println("Enter Grades: "); int grades = input.nextInt(); while (grades>=0 && grades<=0){ if (grades>=90 && grades<=100) agrades++; if (grades>=0 && grades<=60) fgrades++; count++; grades = input.nextInt(); } System.out.println("Amount of Grade: " + …

Member Avatar for JamesCherrill
0
43