//i just need the if statements at the bottom to work as well. right now I can only input the numeric grade and the gpa, but i need the accept or reject lines of code to print too.
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int studentGrade;
float gradePointav;
System.out.println("Please enter a your Numeric Grade:");{
studentGrade = (int) System.in.read();}
scan.nextLine();
System.out.println("Please enter a GPA:");{
gradePointav = (float) System.in.read();}
scan.nextLine();
if (gradePointav >= 3.0 && studentGrade >= 60) {
System.out.println("You have been Accepted!");
}
if(gradePointav <= 3.0 && studentGrade <= 60) {
System.out.print("You have been rejected.");
}
}
}