you are an academic scholar.one requirement to maintain this status is to maintain an average not below 1.8. write a java program that reads student's number of subject taken, the final grade of each subject. your program should display and the number of units of each subject. your program should display the average grade of the student and would display the message "congratulation, you have maintained your status!" if the student is still qualified, or a message "im sorry, you didn't make it..." if not.
Enter number of subjects: 3
Enter subject1 grade: 1.6 Enter number of units: 3
Enter subject2 grade: 1.7 Enter number of units: 3
Enter subject3 grade: 1.2 Enter number of units: 1
you got an average of 1.59 congratulation! you have maintained your status