Please help make my java code more simple.?

I’m trying to puzzle out a way for starterst method to get recognized simply by another.I would prefer the initial applicant solution to recognize the particular satscore and actscore.if my spouse and i enter a new 1 i would like to execute the actual satScore portion and so on.I don’t learn how to get the program to fast the SAT questions 2 number ONE PARTICULAR is accessed and BEHAVE questions when a number TWO is entered.Do Need to create a different method to get these two methods to work together

import java.util.*;
open class Disclose
open static avoid main(String args)

Reader console = new Scanner(System.in);
introduction();
int applicant1 = firstApplicant (console);
int applicant2 = secondApplicant(console);
twice scoreOne = satScore(console);
twice scoreTwo = actScore(console);
scoreComparison (scoreOne, scoreTwo);

open static avoid introduction()

Program.out.println(“This software compares a pair of applicants to”);
Program.out.println(“determine which one seems such as stronger”);
Program.out.println(“applicant.Per candidate I may need”);
Program.out.println(“either SITTING or WORK scores and also a weighted GPA.”);
Program.out.println();

open static int firstApplicant (Scanner console)

Program.out.println(“Information with the first client:”);
Program.out.print(“do you could have 1) SITTING sores or perhaps 2) WORK scores “);
int testType = console.nextInt();
gain testType;

open static int secondApplicant (Scanner console)

Program.out.println(“Information with the second client:”);
Program.out.print(“do you could have 1) SITTING sores or perhaps 2) WORK scores “);
int testType = console.nextInt();
gain testType;

open static twice satScore (Scanner console)

Program.out.print(“SAT instructional math “);
twice math = gaming console.nextDouble();
Program.out.print(“SAT mental “);
twice verbal = gaming console.nextDouble();
Program.out.print(“actual GPA “);
twice gpa = console.nextDouble();
Program.out.print(“max GPA “);
twice maxGPA = console.nextDouble();
twice score = (2 * verbal + math) / TWENTY-FOUR;
twice gpaScore = (gpa/maxGPA) * 100;
twice totalScore = credit score + gpaScore;
gain totalScore;

open static twice actScore(Scanner console)

Program.out.print(“ACT Words “);
int words = console.nextInt();
Program.out.print(“ACT instructional math “);
int instructional math = console.nextInt();
Program.out.print(“ACT examining “);
int examining = console.nextInt();
Program.out.print(“ACT scientific discipline “);
int scientific discipline = console.nextInt();
Program.out.print(“actual GPA “);
twice gpa = console.nextDouble();
Program.out.print(“max GPA “);
twice maxGPA = console.nextDouble();
twice score2 = (2 * examining + british + cost + science) / YOU.8;
twice gpaScore2 = (gpa/maxGPA) * 100;
twice totalScore2 = gpaScore2 + score2;
gain totalScore2;

open static avoid scoreComparison(double scoreOne, twice scoreTwo)

Program.out.println(“First candidate overall rating = ” + scoreOne);
Program.out.println(“Second candidate overall rating = ” + scoreTwo);
when (scoreOne > scoreTwo)

Program.out.println(“The primary applicant is very much bett

Leave a Reply