import java.util.Scanner; //allows for input
public class ASG03 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in); //allows for input
//Step 1 - Declare and initialize variables
String candidateName = "";
String responseE = "";
int option = 0;
double score = 0;
if (score <=85)
responseE = "Definite";
else if (score <=70)
responseE = "Likely";
else if (score <=60)
responseE = "Maybe";
else
responseE = "No";
String responseI = "";
if (score <=85)
responseI = "Yes";
else if (score <=70)
responseI = "Yes";
else if (score <=60)
responseI = "Yes";
else
responseI = "No";
//Step 2 - Process input
System.out.println("Enter candidate name: ");
candidateName = input.nextLine();
System.out.println("Enter score 0 -100: ");
score = input.nextDouble();
System.out.println();
System.out.println("Enter 1 to set employment category ");
System.out.println("Enter 2 to set interview possibility ");
System.out.println("Enter 3 to view a sample test question ");
System.out.println("Enter option now -> ");
option = input.nextInt();
//Step 3 and 4 - Process calculations and output
switch(option)
{
case 1:
System.out.println("You are now setting the employment category...");
//can use nested if else
System.out.println("Employment category = " + responseE);
break;
case 2:
System.out.println("You are now setting the interview possibilities...");
System.out.println("Interview possibilites = " + responseI);
break;
case 3:
System.out.println("You are now viewing a sample test question...");
//use random and power from Math library
default:
}//end of switch
}//end of main
}//end of class