Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A university’s recognizes graduates with high GPA’s in different honors categori

ID: 3591059 • Letter: A

Question

A university’s recognizes graduates with high GPA’s in different honors categories with the following

cutoffs:

summa c um laude 3.8

magna c um laude 3.6

c um laude 3.2

A 2.0 GPA is needed to graduate. Students with less than a 2.0 are not eligible for graduation.

Create a Java application in NetBeans that asks the user to enter a student’s name and GPA then determines and displays the student’s name and graduation status.

Create a Lab Report for the application

In Clonclusion

If the student has a GPA greater than or equal to 3.2 and less than 3.6, the program should display that the student is a c um laude student.

If the student has a GPA greater than or equal to 3.6 and less than 3.8, the program should display that the student is a magna c um laude 3.6 student.

If the student has a GPA greater than or equal to 3.8 and less than or equal to 4.0, the program should display that the student is a summa c um laude student.

If the student has a GPA is below 2.0, the program should display that the student cannot graduate.

If the student has a GPA between 2.0 and less than 3.2, the program should display that the student is eligible to graduate.

Explanation / Answer

import java.util.Scanner;

public class grade {

public static void main(String[] args) {

Scanner in = new Scanner(System.in);

System.out.print("Enter student's name: ");

String s = in.nextLine();

System.out.print("Enter student's gpa: ");

float gpa=in.nextFloat();

if (gpa>=3.2&&gpa<3.6)

System.out.println(s+" is a c um laude student");

else if(gpa>=3.6 && gpa<3.8)

System.out.println(s+" is a magna c um laude student");

else if(gpa>=3.8 && gpa<=4.0)

System.out.println(s+" is a summa c um laude student");

else if(gpa<2.0)

System.out.println(s+" cannot graduate");

else if(gpa>=2.0&&gpa<3.2)

System.out.println(s+" is eligible to graduate");

in.close();

}

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote