Write a program in java to input the sales of a salesman and output his commission on the following
basis
Sales Commission
<=10,000 8%
Above 10,000 15%
Answers
Explanation:
public class a
public class a{
public class a{public static void main (String args[])
public class a{public static void main (String args[]) {
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in)
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission;
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman");
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble()
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%");
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%"); }
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%"); }}
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%"); }} HOPE IT HELPS
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%"); }} HOPE IT HELPSPLEASE MARK ME AS THE BRAINLIEST
public class a{public static void main (String args[]) { Scanner in = new Sacnner(System.in) double sales,comission; System.out.println("Enter the sales of the salesman"); sales= in.nextDouble() (sales%<=10000)?System.out.prinntln("Comission is 8%"): System.out.println("Comission is 15%"); }} HOPE IT HELPSPLEASE MARK ME AS THE BRAINLIEST