Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Console , package - info.java package - info.ja util 1 . java feb 1 5 . java package - info.ja feb 2 1 . java
Console packageinfo.java
packageinfo.ja
utiljava
febjava
packageinfo.ja
febjava
febserlugineclipse.justj.openjdk.hot
Commissionrate
TotalSales
Lessthansold:
Greatertosold
Greaterorequaltosold
Entertotalsales
Salesman'stotalsaleisandcommissionis
Salesman'sincomeis$
J packageinfo.java
package feb;
package feb;
import java.util.Scanner;
public class feb
public static void mainString args
double doublecommission;
TODO Autogenerated method stub
int doublecommisssion doublecommission doublecommission ;
doublecommission ;
double doublecommission;
double commission;
double commission ;
System.out.printlnCommission rate ;
System.out.printlnTotal Sales";
System.out.printlnLess than sold:" doublecommission;
System.out.printlnGreater to sold" doublecommission;
System.out.printlnGreater or equal to sold" doublecommission;
Scanner scanner new Scanner
System.in;
System.out.printEnter total sales";
double totalsalesscanner. nextDouble;
scanner.close;
double commission;
if totalSales
commissiontotalSalesdoublecommission;
else
commissiontotalSalesdoublecommission;
double incometotalsales commission;
System.out.printlnSalesmans total sale is totalSales and commission is commiss
System.out.printlnSalesmans income is $income;
HELLO: My Question is how do i
Suppose you are a computer salesman and your income depend on the total sales and comm issions earned for the computers that you sell. Commission rates vary depending on how many units you sold see chart below Your income equals to the total sales plus the commission where the commission equals to total sales times the commission rate. That is commission total sales commission rate and income total sales commission.
Total Sales
tableLess than sold,Commission rate Greater or equal to sold,
MY QUESTION IS how do i get to
SAles is commission rate and income is and then sales commission is
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started