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

Which of the following is a sign you may be drowsy behind the wheel?
A. Jitteriness
B. Happiness
C. Unhappiness
D. Irritability

Answers

The sign that you may be drowsy behind the wheel is Unhappiness. The correct option is C.

What are feelings?

Feelings and emotions vary fundamentally in that feelings are experienced consciously, whereas emotions manifest either consciously or subconsciously.

Some people may go years, if not a lifetime, without comprehending the depths of their feelings. Drowsiness encompasses symptoms such as tiredness, inability to keep busy, feeling uninteresting, and the absence of happiness.

Therefore, the correct option is C. Unhappiness.

To learn more about feelings, refer to the link:

https://brainly.com/question/13044426

#SPJ1

Compare a Wi-Fi hotspot with a cybercafé.

Answers

Answer:

A WiFi Hotspot is a wireless internet connection that allows a computer, smartphone, or any other internet-enabled devices to connect to internet access points.

A cybercafe refers to any business place that allows people to access the internet usually within its premises after paying for connection access to connect to it.

Explanation:

give the imporntance of having standard funiture in the laboratory​

Answers

Answer:

I guess if there is experiment going on in absence one of those furniture then the experiment isn't successful

What is this tool called?
*

Answers

Answer:

what tool?

Explanation:

It’s called a asterisk in math it’s also used for multiplication

Can I publish my book on Google?

Answers

Publish to Google Play and Google Books will display your book both on Google Books and in the Google Play Store. Publish to Google Books only will display your book on Google Books, with the full text searchable and the specified percentage available to read online.

Answer:

☆|《HOPE IT WILL HELP YOU 》>☆

Explanation:

YES YOU CAN PUBLISH YOUR BOOK ON GOOGLE

please mark my ans as BRAIN LIST

Which of these statements are true? A. You can select all the items in the section of the menu. B. In the center section of the menu only one item can be selected at a time. C. Details is selected. D. Thumbnails, tiles, icons, and list are selected.

Answers

Answer:

In the center section of the menu, only one item can be selected at a time.

Details is selected

Explanation:

Helppp!!! Will give brainliest! Which of these operating system use the organize file?

Hypervisor

Firmware or wetware

Folders or directories

Output devices

Answers

Answer:hyperviser

Explanation:

Hands-On Project 15-4 Make Network Cables
Using the tools and skills you learned about in this chapter, practice making a straight-through cable and a crossover cable. Use a cable tester to test both cables. Answer the following questions:
1. Which wiring standard did you use for the straight-through cable? List the pinouts (pin number and wire color) for each of the eight pins on each connector.
2. Will your crossover cable work on a Gigabit Ethernet network? List the pinouts (pin number and wire color) for each of the eight pins on each connector.

Answers

Answer:

1. You can use either standard (T-568A or T-568B) - but must keep the standard throughout the installation (can't mix A with B).

The B standard is preferred in the US.  A is mostly used overseas (Europe)

For A the proper wiring sequence is:

1 - Orange/White

2 - Orange

3 - Green / White

4 - Blue

5 - Blue / White

6 - Green

7 - Brown / White

8 - Brown

2. Cross over connections use a different pinout for one side of the cable.  The second side is wired normally.

Crossover connections are only used for device to device connections.  ( as in the case of connecting two NIC cards together directly).  They will not work if plugged into a switch or other network device.

Normal side - use the pinout from question #1

Crossover side:

1 Green / White

2 Green

3 Orange / White

4 Brown / White

5 Brown

6 Orange

7 Blue

8 Blue / White

Explanation:

What does the measurement tell you?

Planned value

Answers

Answer:

i think it is Planned Value is the approved value of the work to be completed in a given time. It is the value that you should have been earned as per the schedule. ... Total Planned Value for the project is known as Budget at Completion (BAC). Planned Value is also referred to as Budgeted Cost of Work Scheduled (BCWS).

Explanation:

im not sure tho srry if its wrong have a good day:)

Planned value:

How is it calculated?

Answers

Take the planned percentage of the completed work and multiply it by the project budget and you will get Planned Value.

100 POINTS!!!
Suppose a program requires a password that is a combination of numbers and letters but is not key sensitive. However, the user input is received as a string with letters that can have arbitrary cases. What code can be used to validate user input, u_pass, against the actual password, a_pass?

u_pass.upper() == str(a_pass).upper()
u_pass == a_pass
u_pass == str(a_pass)
u_pass is a_pass

Answers

The code that can be used to validate user input, u_pass, against the actual password, a_pass is u_pass.upper() == str(a_pass).upper().

How do one validate user input?

The act of input validation is  also called data validation. This is said to be  the right testing of any input that has been supplied by a user or application.

Conclusively, In  Input validation, there is prevention in term of improperly formed data from entering into the information system.

Learn more about coding from

https://brainly.com/question/22654163

Which design principle involves mentally dividing up an image with two horizontal lines and two vertical lines

Answers

Answer:

the answer is Rule of thirds

Rule of thirds involves mentally dividing up an image with two horizontal lines and two vertical lines

The rule of thirds is a creation decide that places the subject in the left or right third of an image, leaving the other 66% more open. While there are various sorts of synthesis, the norm of thirds all around prompts persuading and particularly made shots. The Rule of Thirds puts your subject on the left-third or right-third of the edge, making a delightful synthesis.

Rule of thirds involves mentally dividing up an image with two horizontal lines and two vertical lines.

For more information:

https://brainly.com/question/18964599?referrer=searchResults

Difference between entropy and enthalpy is

Answers

Answer:

Explanation:

Enthalpy is the measure of total heat present in the thermodynamic system where the pressure is constant. Entropy is the measure of disorder in a thermodynamic system.

Create a Python file named num_sum.py that contains: The definition of two functions: volume - accepts three parameters and returns the product of them, but displays nothing sum_of_nums - accepts 1 or more numbers and returns their sum, but displays nothing A print function call that includes a call to volume, passing 2, 3, and 4 A print function call that includes a call to sum_of_nums, passing 1, 2, 3, 4, and 5 Submit the Python program and screenshot. Following is an example showing how your screenshot might look:

Answers

Answer:

def volume(n1, n2, n3):

   product = n1 * n2 * n3

   return product

   

def sum_of_nums(*args):

   total = 0

   for n in args:

       total += n

       

   return total

   

print("The product: " + str(volume(2, 3, 4)))

print("The sum: " + str(sum_of_nums(1, 2, 3, 4, 5)))

Explanation:

Create a function called volume that takes three parameters, n1, n2, n3

Multiply the n1, n2, n3 and set it to product

Return the product

Create a function called sum_of_nums that takes *args as parameter (Since the function may take one or more arguments, we may use *args)

Initialize the total as 0

Create a for loop that iterate through args. Add each number to the total (cumulative sum)

When the loop is done, return the total

Call the functions with given numbers and print the results

*See the output in the attachment.

how to write email abut new home your friend ​

Answers

Answer:

Start off with a greeting like Dear Sarah. Then you write a friendly body that tells about your home and describe it as much as you can and tell about what your bedroom theme is like and so on. Finally, top it off like a closing like Sincerely, Tessa.

Answer:

you start off by saying

Dear (name), talk about how your house is comforting and things like that... I hope thats what you were asking for.

which of the following is a chemical change.

A: Separating water into different glasses
B: breaking frozen ice cubes with a hammer
c: running an electric current through water
d: boiling water to evaporate it on a stove.

Answers

Answer:c

Explanation:

which of the following best describes compounds.
A. They can only be separated chemically
b. they are always liquid at room temperature
c. they contain the atoms of just one element
d. they have the same properties as their elements

Answers

A. They can only be separate chemically

Answer:

A.

Explanation:

Write a program that calculates and displays the amount ofmoney available in a bank account that initially has $8000 deposited in it and that earns interest atthe rate of 2.5 percent a year. Your program should display the amount available at the end of eachyear for a period of 10 years. Use the relationship that the money available at the end of each yearequals the amount of money in the account at the start of the year plus 0.025 times the amountavailable at the start of the year [20 points].

Answers

Answer:

Written in Python

import math

principal = 8000

rate = 0.025

for i in range(1, 11):

    amount = principal + principal * rate

    principal = amount

    print("Year "+str(i)+": "+str(round(amount,2)))

Explanation:

This line imports math library

import math

This line initializes principal amount to 8000

principal = 8000

This line initializes rate to 0.025

rate = 0.025

The following is an iteration from year 1 to 10

for i in range(1, 11):

    This calculates the amount at the end of the year

    amount = principal + principal * rate

    This calculates the amount at the beginning of the next year

    principal = amount

    This prints the calculated amount

    print("Year "+str(i)+": "+str(round(amount,2)))

What if rulers appear on my screen?

Answers

Answer:

you can measure it,on word

Class description: A MyString class should behave much like the c++ string class. The class should use a dynamically allocated char array to hold a character string. If the amount of memory allocated to the array is too small to complete some necessary task (e.g., assigning a new character string to the object) the object should automatically double its capacity until it is large enough to complete the task. If it's discovered that the object is using less than 25% of its capacity the object should shrink to half its capacity until it is using more that 25% of its capacity.
Assignment: Implement the MyString class using a header and implementation file named MyString.h and MyString.cpp respectively. Even though MyString.h will be provided on the upload site, create own version for testing code locally. Make sure to properly test code on by creating a test driver that fully tests every function created in the MyString class
Memory Requirements: MyString should start with 10 bytes of allocated memory and should grow in size by doubling. So, we should be able to predict the capacity of MyString as acquiring a patten of 10, 20, 40, 80, ⦠bytes of memory depending of the number of characters stored.
Attributes:
int size â the number of characters currently stored in the string object. Do NOT count the NULL character.
int capacity â the number of bytes currently allocated. This should always be at least size + 1. The extra byte is needed to store the NULL character.
char *data â character pointer that points to an array of characters.
Member Functions:
MyString( ) Constructor
MyString(const char *) Constructor with an initialization character string
~MyString( ) Destructor
MyString(const MyString &) Copy constructor
MyString& operator = (const MyString&) Overloaded assignment operator, make a copy of MyString object
bool operator == (const MyString&) const overloaded equivalence relational operator
char& operator [ ] (int) overloaded [ ] should return a char by reference
void operator += (const MyString&) overloaded += operator, use to concatenate two MyStrings
MyString operator + (const MyString&) const Create a new MyString object that is the concatenation of two MyString objects
void getline(istream&, char delimit = â\nâ); reads an entire line from a istream. Lines are terminated with delimit which is newline â\nâ by default
int length( ) const; return the length of the string
friend ostream& operator<< (ostream&, MyString&); overloaded insertion operator

Answers

You should do 40 points for this

_____ is a framework based on JavaScript and HTML that is normally used to make dynamic web apps.

a
Python
b
CSS
c
AngularJS
d
A database

Answers

Answer:

AngularJS (c)

Explanation:

Answer:

AngularJS

node is better

Explanation:

How can you crop a photo in PowerPoint?

Answers

Answer:

Yea

Explanation:

jus click on the image and it should give you the option to crop it :)

Yes by clicking on the picture and selecting crop image

kelly wants to buy a new operating system for a laptop. under which category will it be in online store?

Answers

Answer:

Kelly should look at the electronics section, where the laptops are because a laptop is an electronic. Just like an iPhone, iPad, and a TV.

Answer:

Application Software

Explanation:

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

This Operating System was basically an upgrade to Windows 98 and was designed for home users. 1) Windows ME 2) Windows 2K 3) Windows 2000 4) Windows New Technology

Answers

the answer is windows2k3 hope this helps!

In a singing competition, there are 34 more men than women
Find the number of women participants if the total number of
participants is 128.

Answers

Answer:

94 women are there

Explanation:

it is easy subtraction you only have to 128-34

Answer:

You have to start with 128 and then you subtract 34. Subtract them together and you get 94 participants. Isn't it that simple?

Choose the words that make the statement true. You wrote a program called firstProgram.

Your program is _____.

O always running in the background

O stored until you open the file

Answers

Answer:

Stored until you open the file

Explanation:

Your program is stored until you open the file.

-edge 2022

You wrote a program called first Program. Your program is stored until you open the file. The second option is correct.

What is program?

A program is made from code of instructions. A program is saved for later use.

When a program is opened, it is in running condition until it is closed. But when it is not in use, it gets stored at a location for next use.

You wrote a program called first Program. Your program is stored until you open the file.

Thus, the second option is correct.

Learn more about program.

https://brainly.com/question/3224396

#SPJ2

what is input devices​

Answers

DescriptionIn computing, an input device is a piece of equipment used to provide data and control signals to an information processing system such as a computer or information appliance. Examples of input devices include keyboards, mouse, scanners, [[digital camera]The]s, joysticks, and microphones.

Answer:

An input Device are used to enter information such as letters, numbers, sounds or pictures into a computer.

Lazarus Consulting is a large computer consulting company in New York. Pete Lazarus, theà CEOà and founder, is well known for his philanthropic efforts. Pete knows that most of his employees contribute to nonprofit organizations and wants to reward them for their efforts while encouraging others to contribute to charities. Pete began a program that matches 50 percent of each employee donation. The only stipulations are that the charity must be a nonprofit organization and the company will match only up to $2,000 per year per employee.
Use the à data fileà provided to determine the following:
What was the total donation amount per organization?
What were the average donations per organization?

Answers

Answer:

There are too many weird characters in this question, so I am unable to fix it, comment on this with the correct characters so I can submit a correct answer.

Suppose a linked list of 20 nodes. The middle node has a data –250. Write the pseudocode to replace the middle node of the linked list with a new node and new data. Assume that the list's head pointer is called head_ptr and the data for the new node is called entry.

Answers

Answer:

The middle node has a data –250. ... Write The Pseudocode To Replace The Middle Node Of The Linked List With ... Assume That The List's Head Pointer Is Called Head_ptr And The Data For The New Node Is Called Entry ... Assume that the list's head pointer is called head_ptr and the data for the new node is called entry ...

Explanation:

Other Questions
What is (18x-44 )+(8x-10) =180? The graph shows the distance covered by a runner after a given number of hours.The runner travels miles in 2 hours PLZ HELP! ILL MARK BRAINLEIST!!! DONT USE FOR POINTS PLZ Hello, can someone please give ideas on a create cell analogy title, it's for my cell project. The title should be on cell analogy and should be creative, including the word "cell" in it. Thank you ;) Which statement best describes the purpose of headings and subheadings?Headings point out key ideas of the text, and subheadings provide additional information about headings.Headings provide the title of the text, and subheadings contain detailed information about the topic of the text.Headings describe what appears in images, and subheadings explain information displayed in charts and graphs.Headings display images, and subheadings provide additional information about what appears in the images. Which is not a topic of biology?a. the relationship between fungi and treesb. the distribution of sand on an ocean floorc. the chemicals at work in the stomachd. the speed at which a hummingbird flies Which art category does this image most reflect? Explain your answer. I need help! which graph represents the compound inequality -3 Andrew rents bowling shoes for $4. He bowls 2 games. Andrew spent a total of $22. How much was the cost of each game, b? Complete the bar diagrams, and then solve the problem. Three bar graphs. Top bar on each is Total Spent. Bottom bar on each has 3 sections. The left section is labeled shoe rental, and each of the other sections is labeled cost per game. The cost per game sections are b. The other parts have fill-in boxes. Each game cost . A boat moving at a constant speed travels 15 meters in 8 seconds. How far does it travelin 40 seconds?75 meters53 meters335 meters480 meters Find the x- and y-intercepts of the graph of the equation.f(x) = 4x 12x-intercept(x, y) =y-intercept(x, y) = The national debt is about $26.7 Trillion as of today. Let's say that it grows in the future at about 7%, as it has from 2010 until today. Projecting forward 10 years, lets say that the population is about 350 million people at that time. In 10 years from now, approximately how much will the average citizen owe the Federal government, just so that the government can pay all its debts? GIVING BRAINLIEST THANKS AND FIVE STARS!!!!!!! HAVE A GREAT DAY! THANK YOU!What can be used to provide air for a fire?muskettrundlebellowstongs How did geography and the environment affect construction? Who was the leader of the Continental Army? George Washington John Adams Thomas Jefferson Paul Revere I NEED HELP WITH THIS I DON'T UNDERSTAND IT Agh what is going on??? I can't answer any questions about arts, idk about others, but in arts, it says that I already answered even though I didn't. And I already tried reloading the page and closing the tab and reopening Brainly, but it still doesn't work. Pls, help! Why did the Caddo end up leaving their homeland?O They were driven out by fighting between the Spanish and French settlers. O They were offered money to relocate to a reservation farther north. O They were pushed out by the Natchez who were fleeing European settlers. O They had lost a massive portion of their population and left to join other tribes. Need this asap for the test!(Q) Which statement best describes trade networks in Arabia during the Middle Ages?They were operated by nomadic tribes.They expanded over several continents.They were mainly local, in small markets.They were established by the government. NEED HELP ASAP!! WILL MARK BRAINLIEST IF ITS RIGHT!!