Question: JAVA write code to compare 2 applicants Required : use if/else statements, char data, boolean variables and expressions, the printf method and throw exception statements,

JAVA

write code to compare 2 applicants

Required :

  • use if/else statements, char data, boolean variables and expressions, the printf method and throwexception statements, String and Scannner methods.

  • Don't use for-loop to process the two applicants.

  • Use printf() to display normalized exam and GPA scores rounded to one decimal place when displayed.
  • This program involves character, Boolean, integer and real data values. Choose the most appropriate data type when declaring variables.
  • Use at least one logical && (and) or || (or) operator in your code.
  • Use at least one else.
  • Call methods. (One of the methods must be void).

For SAT Scores, normalized exam score = (2.math+reading+writing)/32

For ACT Scores, normalized exam score =(English+2.math+reading+science)/1.8

Normalized GPA score = (overall GPA/maxGPA).100. transcript multipler

(a transcript multiplier which is a value between 0.8 and 1.0, overall GPA between 0 and the maximum GPA, Max GPA may be 4.0 or 5.0)

User input is displayed bold

Welcome to Admissions Applicant Comparison System

Information for applicant #1:

Do you have (S)AT scores or (A)CT scores? s

Enter MATH score between 200 and 800: 450

Enter READING score between 200 and 800: 530

Enter WRITING score between 200 and 800: 490

overall GPA? 3.4

max GPA? 4.0

Transcript Multiplier? 0.9

exam score = 60.0

GPA score = 76.5

Information for applicant #2:

Do you have (S)AT scores or (A)CT scores? A

Enter ENGLISH score between 1 and 36: 25

Enter MATH score between 1 and 36: 20

Enter READING score between 1 and 36: 18

Enter SCIENCE score between 1 and 36: 15

overall GPA? 3.3

max GPA? 4.0

Transcript Multiplier? 0.95

exam score = 54.4

GPA score = 78.4

First applicant overall score = 136.5

Second applicant overall score = 132.8

The first applicant seems to be better

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!