An employee’s total weekly pay equals the hourly wage multiplied by the total number of regular hours, plus any overtime pay.

Overtime pay equals the total overtime hours multiplied by 1.5 times the hourly wage.

Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and displays an employee’s total weekly pay.

Below is an example of the program inputs and output:

Enter the wage: $15.50
Enter the regular hours: 40
Enter the overtime hours: 12

The total weekly pay is $899.0

Answers

Answer 1

wage = float(input("Enter the wage: $"))

regular_hours = float(input("Enter the regular hours: "))

overtime_hours = float(input("Enter the overtime hours: "))

print(f"The total weekly pay is ${(regular_hours * wage) + ((wage*1.5) *overtime_hours)}")

I hope this helps!


Related Questions

Xcode, Swift, and Appy Pie are all tools for doing what?

writing code in C#

creating smartphone apps

creating apps to run on a desktop or laptop

writing code in Java

Answers

Answer:

creating smartphone apps

Explanation:

Xcode, Swift, and Appy Pie are all tools for creating iOS applications.

These tools are used for app development in the iOS platform which is a rival to the Android platform.

They are used to build the apps from scratch, develop and test them,

Answer:

smart phone apps

Explanation:

I have to drag it to the correct definition plz help!

Answers

Answer:

Copyright - 1

Derivative works - 4

Intellectual property - 3

Fair use - 2

Explanation:

Explain the following terms as used in word processin
(a)
Drop cap
(b) A superscript
An indent​

Answers

Answer:

A drop cap (dropped capital) is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of a drop cap is usually two or more lines.

a superscript is a character(s) half the height of a standard character and printed higher than the rest of the text.

In word processing, the word indent is used to describe the distance, or number of blank spaces used to separate a paragraph from the left or right margins.

When viewing the Mail Merge Recipients dialog box, what kinds of actions can you perform? Check all that apply. find recipient filter recipients print recipients sort column headings select/deselect recipients

Answers

Answer:

a,b,d,e on edg 2020

Explanation:

Answer:

Everything is correct except option 3/letter C.

Explanation:

A, B, D, and E

THIS IS PYTHON QUESTION
d = math.sqrt(math.pow(player.xcor() - goal.xcor(), 2) + math.pow(player.ycor()-goal.ycor(), 2))

here is the error message that I am getting when I run this using the math module in python: TypeError: type object argument after * must be an iterable, not int

Answers

Answer:

ok

Explanation:yes

What are technology trends in science check all that apply

Answers

Answer:

3D Printing Molecules.

Adaptive Assurance of Autonomous Systems.

Neuromorphic Computing (new types of hardware) and Biomimetic AI.

Limits of Quantum Computing: Decoherence and use of Machine Learning.

Ethically Trustworthy AI & Anonymous Analytics.

Explanation:

Write a program that asks the user to enter the size of a triangle (an integer from 1 to 50). Display the triangle by writing lines of asterisks. The first line will have one asterisk, the next two, and so on, with each line having one more asterisk than the previous line, up to the number entered by the user. On the next line write one fewer asterisk and continue by decreasing the number of asterisks by 1 for each successive line until only one asterisk is displayed. (Hint: Use nested for loops; the outside loop controls the number of lines to write, and the inside loop controls the number of asterisks to display on a line.) For example, if the user enters 3, the output would be:_______.a. *b. **c. ***d. **e. *

Answers

Answer:

Implemented using Python

n = int(input("Sides: "))

if(n>=1 and n <=50):

    for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

       

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

else:

         print("Range must be within 1 and 50")

Explanation:

This line prompts user for number of sides

n = int(input("Sides: "))

The line validates user input for 1 to 50

if(n>=1 and n <=50):

The following iteration uses nested loop to print * in ascending order

   for i in range(1,n+1):

         for j in range(1,i+1):

              print('*',end='')

         print("")

The following iteration uses nested loop to print * in descending order        

    for i in range(n,0,-1):

         for j in range(i,1,-1):

              print('*',end='')

         print("")

The following is executed if user input is outside 1 and 50

else:

         print("Range must be within 1 and 50")

Mrs Jones had p hens then she decided to buy p more hens. how many hens does she have in all?​

Answers

Answer:

2p

Explanation:

if she had p, then she got p again, she got two p amounts. p+p = p*2 = 2p

1. Discuss data processing concepts and the representation of data in the computer


2. Explain how they work together to process data

Answers

Answer:

gkvjbdsvjnmfbhui jgbfdshjcxvabgsuciusgBFIULWGSfuRyt vqwyrgfgweVGYGTV7BWUIEGDWYUGDCYg

Explanation:

Work made for hire. If an employer asks an independent designer to create an illustration, the copyright to that artwork is owned by the employer. true or false?

Answers

Answer:

False

Explanation:

On the basis of the designer being "independent", the artworks copyright remains with the designer. Being independent requires contractual transfer of copyright in the event that its created for another person.

The answer would be false trust me I just did this and got it correct.

Write a program which has your own versions of the Python built-in functions min and max. In other words, write the functions called maximum(aList) and minimum(aList) that do the job of the built-in Python functions max(aList) and min(aList)respectively. They should take a list as an argument and return the minimum or maximum element . Test your functions with the list [7, 5, 2, 3, 1, 8, 9, 4]. Hint: Pick the first element as the minimum (maximum) and then loop through the elements to find a smaller (larger) element. Each time you find a smaller (larger) element, update your minimum (maximum).

Answers

Answer:

def maximum(aList):

   highest = aList[0]

   for number in aList:

       if number > highest:

           highest = number

       

   return highest

def minimum(aList):

   lowest = aList[0]

   for number in aList:

       if number < lowest:

           lowest = number

       

   return lowest

print(maximum([7, 5, 2, 3, 1, 8, 9, 4]))

print(minimum([7, 5, 2, 3, 1, 8, 9, 4]))

Explanation:

Create a function named maximum that takes one parameter, aList

Initialize the highest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with highest. If a number is greater than highest, set it as new highest.

When the loop is done, return the highest

Create another function named minimum that takes one parameter, aList

Initialize the lowest as the first number in aList

Create a for loop that iterates through the aList. Compare each number in aList with lowest. If a number is smaller than lowest, set it as new lowest.

When the loop is done, return the lowest

Call the functions with given list and print the results

1) An employer has decided to award a weekly pay raise to all employees by taking the square root of the difference between his weight and the employee’s weight. For instance, an employee who weighs 16 pounds less than the employer will get a $4 per week raise. The raise should be in whole dollars (an int). Write a class file that prompts the user for the employee and the employer weight. Please output the correct raise amount making sure that all inputs are included in the output statement.

Answers

Answer:

Written in C++

#include <iostream>

#include<cmath>

using namespace std;

int main(){

   int weight1, weight2, diff;

   cout<<"Employees Weight: ";

   cin>>weight1;

   cout<<"Employers Weight: ";

   cin>>weight2;

   diff = abs(weight1 - weight2);

   float pay = round(sqrt(diff));

   cout<<pay;

   return 0;

}

Explanation:

I've added the source file as an attachment where I used comments as explanation

what is the output? there are no answer options and I'm completely lost.

>>>answer = "five times"

>>>answer[2:7] ​

Answers

The string answer = "five times"

All strings start at index 0 and end at the length of the string minus 1

So, if we count appropriately, index 2 is v and index 7 is m

answer[2:7] goes from v to m including v but not m, therefore,

answer[2:7] = "ve ti"

The European Union requires companies to:

a
erase user data when requested.
b
keep all data open source.
c
never sell data.
d
delete all personal customer data after two years.

Answers

Answer:

C is the correct

Explanation:

Other Questions
ASAP!!! BRAINLIEST!!PLS HELP!!! SHOW ALL WORK +STEPS!! Thx! 48 pointsChemistry is the study of 1.& its interactions. Matter has2.___, takes up 3. ____& is made up of 4.____from theperiodic table. Each element in the periodic table has a different5. ____structure. You can use the information in the periodic square ofeach element to model its basic atomic structure. The three subatomicparticles that make up atoms are the 6. ___charged protons & the7. ____neutrons are both located in the nucleus, & the 8.____charged electrons are found orbiting the nucleus. The element's9. ____number is equal to the number of protons, & identifies theelement. The element's atomic mass is equal to the number of protonsplus neutrons in the 10.____The atomic charge on atoms in theperiodic table is 11. ____; so the number of electrons in a neutral atomis also equal to the 12. ____number. Charged atoms are called13. ____If an atom looses an electron from its neutral state it becomes apositively charged 14. ____If an atom gains an electron it becomes anegatively charged 15. ____Atoms with a different number ofneutrons are called 16.___and they also differ in mass. * What would happen if the planetswere not in constant motion? How does the author try to appeal to the emotions of American colonists in his attempt to build an argument and support for the American revolution? Cite evidence from the text to support your claims. The price of a stock went from $32 to $28. If p is the percent decrease in the value of the stock, which proportion can be used to compute p? A. B. C. D. which is the subject in the following sentence: My big brother is a point gaurd on the basketball team what is the answer for x/1.2=-7 what is the distance of the line segment between the endpoints (-6,5),(4,-5) Find the product... Please and thank you.(x+7) (x+5) Which text would a reader choose for the purpose of discovering opinions on healthy eating?A. A guide with food nutrition factsB. an article about how to use a slow cookerC. A novel about a boy who enjoys eating pizzaD. an editorial that supports creating home vegetable gardens You should perform CPR on a child even if you are not properly trained. A. True B. False solve equation with variable on both sides 2(3r-4)=4r=3 Which sentence incorrectly uses a possessive word? Your sandwich looks delicious! They placed their phones on the side table. Your running really fast! Shanita and Juan worked on their science project. why do you think people believed ________ over ________? Think about the structure of society during that time period Any underapplied or overapplied manufacturing overhead is closed out to cost of goods sold. The cost of goods manufactured for July is: help with math homework chapter 1 practice How many x-intercepts and y-intercepts can a linear function have? Dimensions should be placed__the drawing whenever possible__lines should not cross dimension lines Solve the problem please look at the picturethx guys