1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lianna [129]
4 years ago
9

Write a program with a method computeCommission which takes a double that is the salesAmount and returns the commissions for sal

es from $10,000 to $100,000 in increments of $5,000. Commissions are calculated by one of two formulas depending on the amount:a. A sale up to $50,000, 8 percent for the first $5,000 and 10 percent of the remainderb. A sale over $50,000, 9 percent for the first $5,000 and 12 percent of the remainderE

Computers and Technology
1 answer:
miv72 [106K]4 years ago
4 0

Answer:

Explanation:

def computeCommission(salesAmount):

   commission=0

   if salesAmount <= 50000:

       commission = 5000*0.08 + (salesAmount-5000)*0.1

   elif salesAmount > 50000:

       commission = 5000*0.09 + (salesAmount-5000)*0.12

   return commission

print("commission for 45000 : "+str(computeCommission(45000)))

print("commission for 54000 : "+str(computeCommission(54000)))

You might be interested in
Plz answer me will mark as brainliest​
Mumz [18]

Answer:

1.Aapplication

2.Three

3.True

<h3>follow me and mark me brainliest </h3>
5 0
3 years ago
an ssl client has determined that the certificate authority (ca) issuing a server's certificate is on its list of trusted cas. w
TEA [102]

The next step in verifying the server's identity is:

  • The CA's public key need to validate the CA's digital signature found on the server certificate.

<h3>What is SSL client?</h3>

Secure Sockets Layer (SSL) is known to be a kind of PKI protocol that helps to  authenticate a user's identity and it is one that often encrypt the communication that takes place between the client and the server.

Note that  in the above, the next step in verifying the server's identity is:

  • The CA's public key need to validate the CA's digital signature found on the server certificate.

Learn more about SSL client from

brainly.com/question/14425531

#SPJ11

8 0
2 years ago
What is the best Photo editor? NEED ASAP! WILL MARK BRAINLIEST
Morgarella [4.7K]
Adobe photo editor is the best
4 0
4 years ago
which virtue you need to secure information by limiting computer access to authorized personnel only?
Pavel [41]
<span>Which virtue do you need to secure information by limiting computer access to authorized personnel only? The Answer is </span>Confidentiality
4 0
3 years ago
What will be the output of the following code?
saveliy_v [14]

Answer:

The correct answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is : 4.

When you run this program in Java. The output produce by this program is 4

The given code is:

import java.util.ArrayList;

public class arrayList7

{

public static void main(String[] args) {

ArrayList one = new ArrayList ();

Integer count=3;

count=count+1;

one.add(2);

one.add(count);

System.out.println(one.get(1));

}

}

This code store the value in ArrayList one variable. It first adds 2 at zero indexes and 4 at first index.  When you print the value at index one, you will get the output 4. because the count variable contains 4. If you want to print 2, then you specify the print statement that prints the value at index zero. eg.

System.out.println(one.get(0));

5 0
3 years ago
Other questions:
  • Write a SQL query to find the population of the planet named 'Caprica' -- 10 points Find the first name, last name, and age of p
    14·2 answers
  • You will be given a string, containing both uppercase and lowercase alphabets(numbers are not allowed).
    14·1 answer
  • Select the correct answer.
    11·1 answer
  • you have obtained a program under development to test on your computer. While you are using the program, it crashes with a messa
    9·1 answer
  • Which of the following dimensions of e-commerce technology has the potential to raise the quality of information? A) Global reac
    5·1 answer
  • When a pitcher is holding a baseball, the ball has ______energy.
    9·2 answers
  • You need to synchronize your mobile device data with your desktop computer. for security reasons, your organization prohibits sy
    5·1 answer
  • What is the definition of trouble shooting.
    12·1 answer
  • Explain the working principal of computer system with suitable diagarm​
    9·1 answer
  • ________ is a technique where the general characteristics are kept and the details are hidden.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!