Hi everyone, Im fairly new at Java programming and my professor asked us to write a program that can:

  • Show each grade by the letter. (Ex: A, B, C, D, F)
  • Minimum & Average grade of the class
  • The number of people who passed the exam (70+ is passing)

I have been trying to use arrays and if else statements to solve this but Im not making much progress. Can you guys please help me out?

Your post is a little vague. You say you are a beginner and attempting to solve this problem using arrays and if-else statements and having difficulty. However, you do not specify what in particular you understand and what you are having difficulty with. In addition, there are overall approach to the problem and your design. Where does the data come from? Is it hard-coded? Do you enter it at the console? Do you read it from a file? More details please regarding the assignment, the input, where you are stuck, where you're NOT stuck, and perhaps some code / a skeleton would be helpful.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.