Ask Question
27 December, 19:51

Write a program that will calculate a sales person's weekly salary. The sales person receives a weekly salary of $200.00 plus a commission of 9% on the amount of sales for the week.

+5
Answers (1)
  1. 27 December, 20:51
    0
    The complete Java program is given in the explanation section

    Explanation:

    import java. util. Scanner;

    public class num16 {

    public static void main (String[] args) {

    Scanner in = new Scanner (System. in);

    System. out. println ("Enter sales for the Week: ");

    double sales = in. nextDouble ();

    double weeklySalary = 200.00;

    double commision = 0.09*sales;

    double salaryAndComm = weeklySalary+commision;

    System. out. println ("Your Weekly salary is: "+weeklySalary);

    System. out. println ("Your Commision is: "+commision);

    System. out. println ("Your total earnings is "+salaryAndComm);

    }

    }
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a program that will calculate a sales person's weekly salary. The sales person receives a weekly salary of $200.00 plus a commission ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers