I'm looking to calculate grades that allows me to enter a number of grades and allows...

90.2K

Verified Solution

Question

Programming

I'm looking to calculate grades that allows me to enter a numberof grades and allows me to also calculate the average using javascript collections/array list. If possible, can someone lead me inthe direction on how to go about doing this with some explanation.Thank you !!!

My code so far;

package com.company;import java.util.*;import java.util.ArrayList;class Main {  public static void main(String args[]) {    Set names = new HashSet();    names.add(\"Christopher\");    names.add(\"Pedro\");    names.add(\"James\");    names.add(\"Jess\");  }}

Answer & Explanation Solved by verified expert
4.0 Ratings (733 Votes)
import javautilArrayList import    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students