Java program to calculate grade of students

In this post, we will see how to calculate grade of students in java.

Student’s grade is decided by average of marks.It is good program to practice execution of if statements in java.

Here is simple program to calculate grade of students

Output:

Enter Marks for 5 Subjects : 50 60 70 80 90
Student’s Grade is B

That’s all about how to calculate grade of students in java.

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *