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
hichkok12 [17]
3 years ago
5

Create a program that will read in a Salesperson name, employment status (1=Full-time AND 2=Part-time) and the sales amount.

Computers and Technology
1 answer:
Oliga [24]3 years ago
5 0

Answer:

Written using Python

name = input("Name: ")

print("1 for Full time and 2 for Part time")

status = int(input("Status: "))

sales = float(input("Sales Amount: "))

if status == 1:

     commission = 0.04 * sales

else if status == 2:

     commission = 0.02 * sales

print(name)

print(commission)

if status == 1 and sales>1000:

     print("You have exceeded the sales quota!")

if status == 2 and sales>500:

     print("You have exceeded the sales quota!")

Explanation:

I've added the full source code as an attachment where I used comments to explain some lines

Download txt
You might be interested in
Which of these is an application to control
N76 [4]

Not sure if your asking what certain application or the definition. But the definition: A security practice that blocks or restricts unauthorized applications from executing in ways that put data at risk.

6 0
3 years ago
An OS X backup utility that automatically backs up files to a dedicated drive that is always available when the computer is turn
Darya [45]

Answer:

Time machine.

Explanation:

An OS X backup utility that automatically backs up files to a dedicated drive that is always available when the computer is turned on is called a time machine.

OS X was released in 2001 and it's Apple's version ten (10) of the operating system that runs on its Macintosh computers.

A time machine is a software tool built into the Mac operating system and it is primarily designed to automatically backup user files or data onto a dedicated drive such as an external hard drive disk through a wired connection, by using a Thunderbolt or universal serial bus (USB) cable. The automatic backup can as well be done wirelessly through a network connection.

5 0
3 years ago
If you’re torn between more than one option while making a decision, which of the following would most likely be the best strate
Vladimir [108]
<span>If you’re torn between more than one option while making a decision, which of the following would most likely be the best strategy to help you decide you should get rid of the bad ones and you will be left with good ones 

</span>
3 0
3 years ago
How can i clip a picture to a question on the computer?
Varvara68 [4.7K]

Here you are, its that button.

4 0
3 years ago
Read 2 more answers
Why is it important for element IDs to have meaningful names
Anit [1.1K]

Answer:

  to remind of purpose and use

Explanation:

When a data item has a meaningful name, the name can be a reminder of the purpose and use of the item. It can also be suggestive of the range of legitimate values. It also makes error-checking easier.

If the name of it is not meaningful, this information about the item must be found in a dictionary somewhere, often a time-consuming or difficult project. Using elements with non-meaningful IDs provides opportunities for error and confusion--not something that is generally wanted.

6 0
3 years ago
Other questions:
  • he function below takes one parameter: a list of strings (string_list). Complete the function to return a new list containing on
    5·2 answers
  • What is the difference between HTML and CSS? * 1. CSS is a markup language unlike HTML. 2. HTML is a backend technology and CSS
    12·2 answers
  • The following code processes a file containing five positive numbers. What will the variable $result contain after the code is e
    13·1 answer
  • (1) Prompt the user to enter a string of their choosing. Output the string.
    11·1 answer
  • _______ view is used to size field names and controls and to apply formats.
    10·2 answers
  • Match the elements of a web page with their description
    15·2 answers
  • Look at the slide.
    10·2 answers
  • Which source would provide the best way to find valid information about climate change
    8·1 answer
  • What are the two protocols used most often with iot devices? (select two. )
    10·1 answer
  • 1.1 what is the osi security architecture? 1.2 what is the difference between passive and active security threats? 1.3 list and
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!