if the average score >=90% =>Student grade = A
if the average score >= 70% and <90% =>Student grade = B
if the average score>=50% and <70% =>Student grade = C
if the average score<50% =>Student grade = F
Introduction
In this demo I have used NetBeans IDE 8.2 for debugging purpose. But you can use any java programming language compiler as per your availability..