@@ -0,0 +1,2912 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0A%0A/**%0A *%0A * @author Noah%0A */%0Aimport javax.swing.*;%0Aimport java.text.*;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A    %0A    JOptionPane.showMessageDialog(null,%22In this program, you will be prompted for: your grade, your time,%22%0A    + %22 and then you will be given your speed rating.%22);%0A    %0A    Object%5B%5D gradeOption = %7B%22Freshman%22, %22Sophomore%22, %22Junior%22, %22Senior%22%7D;%0A    int gradeMenu = JOptionPane.showOptionDialog(null,%22Please choose your grade.%22,%22Grade%22,JOptionPane.YES_NO_OPTION,%0A    JOptionPane.QUESTION_MESSAGE,null,gradeOption,gradeOption%5B3%5D);%0A    %0A    int userTime = Integer.parseInt(JOptionPane.showInputDialog(%22Please enter your time in second.%22 +%0A    %22 If you need a time converter, check my 'Converter' page of my website.%22));%0A    %0A    int courseCorrection = 0; //Initializes the course correction factor variable%0A    %0A    switch (gradeMenu) %7B%0A    %0A    case 0: //Freshman%0A    %0A    int firstPlaceFR = //FIRSTPLACEPERSON(INPUT AFTER RACE)%0A    int secondPlaceFR = //SECONDPLACEPERSON(INPUT AFTER RACE)%0A    int thirdPlaceFR = //THIRDPLACEPERSON(INPUT AFTER RACE)%0A    %0A    double averageTimeFR = (firstPlace + secondPlace + thirdPlace)/3;%0A    %0A    int standardTimeFR = //FIGURE OUT AVERAGE FOR JIM SMITH RACES BY AGE AND THEN ADD IF STATEMENT%0A    %0A    courseCorrection = standardTimeFR-averageTimeFR;%0A    %0A    case 1: //Sophomore%0A    %0A    int firstPlaceSR = //FIRSTPLACEPERSON(INPUT AFTER RACE)%0A    int secondPlaceSR = //SECONDPLACEPERSON(INPUT AFTER RACE)%0A    int thirdPlaceSR = //THIRDPLACEPERSON(INPUT AFTER RACE)%0A    %0A    double averageTimeSR = (firstPlace + secondPlace + thirdPlace)/3;%0A    %0A    int standardTimeSR = //FIGURE OUT AVERAGE FOR JIM SMITH RACES BY AGE AND THEN ADD IF STATEMENT%0A    %0A    courseCorrection = standardTimeFR-averageTimeSR;%0A    %0A    case 2: //Junior%0A    %0A    int firstPlaceJR = //FIRSTPLACEPERSON(INPUT AFTER RACE)%0A    int secondPlaceJR = //SECONDPLACEPERSON(INPUT AFTER RACE)%0A    int thirdPlaceJR = //THIRDPLACEPERSON(INPUT AFTER RACE)%0A    %0A    double averageTimeJR = (firstPlace + secondPlace + thirdPlace)/3;%0A    %0A    int standardTimeJR = //FIGURE OUT AVERAGE FOR JIM SMITH RACES BY AGE AND THEN ADD IF STATEMENT%0A    %0A    courseCorrection = standardTimeJR-averageTimeJR;%0A    %0A    case 3: //Senior%0A    %0A    int firstPlaceSNR = //FIRSTPLACEPERSON(INPUT AFTER RACE)%0A    int secondPlaceSNR = //SECONDPLACEPERSON(INPUT AFTER RACE)%0A    int thirdPlaceSNR = //THIRDPLACEPERSON(INPUT AFTER RACE)%0A    %0A    double averageTimeSNR = (firstPlace + secondPlace + thirdPlace)/3;%0A    %0A    int standardTimeSNR = //FIGURE OUT AVERAGE FOR JIM SMITH RACES BY AGE AND THEN ADD IF STATEMENT%0A    %0A    courseCorrection = standardTimeSNR-averageTimeSNR;%0A    %0A    %7D%0A    %0A    %0A    %0A    %0A    %0A    %0A

Create JimSmithSR.java