Ask Question
21 November, 14:29

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. 21 November, 16:30
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers