Please ASAP Botod water (140) Cost of mond 36.20 FIGURE 4.63 Possible outcome of
ID: 3856883 • Letter: P
Question
Please ASAP Botod water (140) Cost of mond 36.20 FIGURE 4.63 Possible outcome of Programming Project 5. 6. College Admissions The admissions offices of colleges often rely on a point systerm A point system similar to the one in Fig 4.64 on the next page is used by a large state uni- versity. Write a program that allows an admissions officer to determine whether an applicant should be admitted. The numbers in brackets give the point count for each response. The GPA score entered into the text box at the top of the form should be from 2.0 to 4.0. The point value in the brackets to the right of the text box is 20 times the GPA and should appear automatically after the focus leaves the text box. A total of at most 40 points can be earned for the responses below the line. The program should calculate the total score and then admit an applicant whose score is at least 100.Explanation / Answer
*************************** Solution in Java*****************
import java.util.*;
class admission
{
public static void main(String args[])
{Scanner Scan=new Scanner(System.in);
float point_value,total_score,below_line_score;
//******* GPA range b/w 2.0 to 4.0 *******
System.out.println("** GPA range b/w 2.0 to 4.0 **");
System.out.println("Enter Gpa score");
float gpa=Scan.nextFloat();
point_value=gpa*20;
System.out.println("Enter Set score");
float set_score=Scan.nextFloat();
System.out.println("Enter High score quality");
float hsQ=Scan.nextFloat();
System.out.println("Difficult of Curriculum");
float doc=Scan.nextFloat();
//******* Below line Score Max 40 *******
System.out.println("Enter geo Score either 10(for State resident) or 0(other) ");
float geo=Scan.nextFloat();
System.out.println("Enter Aluimini Score either 4(for Legacy) or 0(other) ");
float alumini=Scan.nextFloat();
System.out.println("Enter essay score 1(for very good) 2(for excellent) 3(for oustanding) ");
float essay=Scan.nextFloat();
System.out.println("Enter leadership or service score 1(state) 2(regional) 5(national) ");
float los=Scan.nextFloat();
System.out.println("Enter Misscelanious Score either 5 or 20");
float msl=Scan.nextFloat();
below_line_score=geo+alumini+essay+los+msl;
if(below_line_score>40)
{
below_line_score=40;
}
total_score=point_value+set_score+hsQ+doc+below_line_score;
if(total_score>=100)
{
System.out.println("Total Score is:"+total_score+ " Admitted ");
}
else
System.out.println("Total Score is:"+total_score+ " Not Admitted ");}
}