Hi I am new to Java/netbeans. I have been working on a school assignment to create a commission calculator. I have it done I believe but, have some errors. Please help.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package commission.calculator;
/**
*
* @author Chewi_000
*/
import java.util.Scanner;
public class CommissionCalculator {
/**
* @param args the command line arguments
*/
// This is the beginning of the main method
public static void main(String[] args) {
// This method displays the salespersons fixed annual salary
fixedSalary = 100,000;
// This method displays the salespersons commission rate
int commission;
commission = 2.5;
commissionCalc = totalSales * .025;
System.out.println("The total sales of the salesperson is $";
+ commissionCalc + " using a 2.5% commission.");
// Creates Scanner to collect total sales input from salesperson
Scanner input = new Scanner(System.in);
double totalSales; // Salespersons total sales
System.out.print("Enter total sales: ");
totalSales = input.nextDouble();
double commissionCalc; // Calculates commission of total sales
commissionCalc = totalSales * .025;
System.out.println(The total sales of the salesperson is $"
+ commissionCalc + " using a 2.5% commission.");
double totalfixedsum; // Salespersons total fixed compensation
totalFixedSum = fixedSalary + commisionCalc;
System.out.println("The total fixed compensation of the salesperson "
+ "is: $" + totalFixedSum + ".");
} // end main method
} // end class CommissionCalculation