in python:
Write a program that asks the user for the number of hours worked this week and the hourly rate of pay. The program is to calculate the gross pay. If the number of hours worked is greater than 35, the extra hours are paid at 1.5 times the rate. The program should display an error message if the number of hours worked is not in the range 0 to 70

Answers

Answer 1

Answer:

The code is shown below:

Explanation:

Consider the provided information.

The required code is shown below:

hrs = input("Enter the number of hours worked this week: ")

h = float(hrs)

if h<0:

   print("Error")

elif h>70:

   print("Error")

else:

   xx= input("Enter the hourly rate pay: ")

   x=float(xx)

   if h<= 35:

       print(h * x)

   elif h > 35:

       print(35* x + (h-35)*1.5*x)

For better understanding refer to the image shown below.

In Python:Write A Program That Asks The User For The Number Of Hours Worked This Week And The Hourly

Related Questions

Which is the best method for sending a word-processor document to another
person via e-mail?

Answers

Answer:

Attach the document to the e-mail message as a file attachment.

Hope this helps :)

Write a program to enter a number and test if it is greater than 45.6. If the number entered is greater than 45.6, the program needs to output the phrase Greater than 45.6.

Sample Run
Enter a number: 90
Sample Output
Greater than 45.6

Answers

Answer:

float inp =0;

cin>>inp;

if(inp > 45.6)

    cout<<"Greater than 45.6";

Explanation:

the first line will initialize an float for the input you gonna give the program.

second line will get the input from the user.

third line checks if the given input is greater than 45.6 .if so , it will print "greater than 45.6"

also for your future questions , please note which language your program should be in.

Please help me on this

Answers

Answer:

Phishing

Explanation:

the other answers are just random stuff.

Answer:

It is Phishin

Explanation:

the act of seding out bait aka the fake emails and trying to get people to bite or aka get scammed.

Mobile devices have their own OSs, tailored to their handheld needs, which means they are not immune to what?
malware threats
corporate espionage
crowding out legitimate traffic
specific rules

Answers

Answer:

Malware

Explanation:

Malware is used in many types of software included handheld OS's

Which of the following best describes the purpose of video careers?


To catch the attention of customers


To gain an emotional connection between two people


To create motion images for public entertainment, news or education

To make an employer laugh

Answers

To create motion images for public entertainment news or education

When converting text to a table, which feature should be used?

Answers

i’m pretty sure it would be an insert tab

Answer: insert tab in ribbon bar

Explanation:

Where do you want to install?
It looks like you don't have any applicable device(s) linked to
your Microsoft account. To install, sign in on a device with
your Microsoft assount,
Get more info
How do I do this

Answers

This really depends on the thing you are trying to install, and the device you are trying to install it on.

try to find the app info and see what devices it is compatible with. make sure you are using a compatible device, and make sure you are signed in.

Please help!!!! 100 points!!

Answers

Answer:

I DONT GET IT

Explanation:

I was also looking for an answer for the same question lo

Read the scenario and then choose which type of
report it describes.
A human-resources director creates a report
containing the names and contact information of
employees at the company.
O customer list
O employee list
O medical record
0 sales-volume report

Answers

Answer:

employee list.

Explanation:

An employee list can be defined as a textual document that comprises of important informations such as names, contact address, gender, religion, next of kin, home address etc., about an employee working in an organization or business firm.

In this scenario, a human-resources director creates a report containing the names and contact information of employees at the company. Thus, this report represents an employee list.

The main purpose of an employee list is to provide a detailed description or information about all of the employees working in an organization at a specific period of time.

Answer:

B; Employee List

1. Open the table in__
view.
2. Place the cursor in the Last Name column.
3. On the__ tab, in the Sort & Filter group, click __

Answers

1. Open the table in design view
2. Place the cursor in the last name column
3. On the create tab , in the sort a amp; filter group, click the toggle filter icon

Write difference between hacker and cracker in table.​

Answers

Explanation:

Hackers :

Hackers are kind of good peoples who does hacking for the good purpose and to obtain more knowledge from it. They generally find loop holes in the system and help them to cover the loop holes. Hackers are generally programmers who obtain advance knowledge about operating systems and programming languages. These people never damage or harm any kind of data.

Crackers :

Crackers are kind of bad people who breaks or violates the system or a computer remotely with bad intentions to harm the data and steal it. Crackers destroy data by gaining an unauthorized access to the network. There works are always hidden as they are doing illegal stuff. Bypasses passwords of computers and social media websites, can steal your bank details and transfer money from bank.

Chris wants to view a travel blog her friend just created. Which tool will she use?

HTML
Web browser
Text editor
Application software

Answers

Answer:

Web browser

Explanation:

HTML, text editor and application software are all tools used by developers in coding the format of a blog. Computer languages such as Cascading Style Sheet (CSS), JavaScript, Personal Homepage Pre-processor, and HyperText Markup Language are used in such coding and an ordinary user will not be able to understand such a language.

To view the travel blog when it is ready and in everyday language, a web browser should be used. The blog name is entered and Chris can see all the features of the blog.

Place the following STEM inventions in the correct chronological order, from the earliest to the most recent discovery.
Talking doll - Summly app - Blissymbol printer - circular saw


talking doll, circular saw. Blissymbol printer, Summly app

circular saw, Blissymbol printer, talking doll, Summly app

circular saw, talking doll, Blissymbol printer, Summly app

talking doll, Summly app, Blissymbol printer, circular saw

Answers

Probably C

If I’m right, can you mark me brainliest please?

Answer:

c

Explanation:

lol

what are each pieces named on the microscope​

Answers

Head/Body houses the optical parts in the upper part of the microscope

Base of the microscope supports the microscope and houses the illuminator

Arm connects to the base and supports the microscope head. It is also used to carry the microscope.

Eyepiece or Ocular is what you look through at the top of the microscope. Typically, standard eyepieces have a magnifying power of 10x. Optional eyepieces of varying powers are available, typically from 5x-30x.

Eyepiece Tube holds the eyepieces in place above the objective lens. Binocular microscope heads typically incorporate a diopter adjustment ring that allows for the possible inconsistencies of our eyesight in one or both eyes. The monocular (single eye usage) microscope does not need a diopter. Binocular microscopes also swivel (Interpupillary Adjustment) to allow for different distances between the eyes of different individuals.

Objective Lenses are the primary optical lenses on a microscope. They range from 4x-100x and typically, include, three, four or five on lens on most microscopes. Objectives can be forward or rear-facing.

Nosepiece houses the objectives. The objectives are exposed and are mounted on a rotating turret so that different objectives can be conveniently selected. Standard objectives include 4x, 10x, 40x and 100x although different power objectives are available.

Coarse and Fine Focus knobs are used to focus the microscope. Increasingly, they are coaxial knobs - that is to say they are built on the same axis with the fine focus knob on the outside. Coaxial focus knobs are more convenient since the viewer does not have to grope for a different knob.

Stage is where the specimen to be viewed is placed. A mechanical stage is used when working at higher magnifications where delicate movements of the specimen slide are required.

Stage Clips are used when there is no mechanical stage. The viewer is required to move the slide manually to view different sections of the specimen.

Aperture is the hole in the stage through which the base (transmitted) light reaches the stage.

Illuminator is the light source for a microscope, typically located in the base of the microscope. Most light microscopes use low voltage, halogen bulbs with continuous variable lighting control located within the base.

Condenser is used to collect and focus the light from the illuminator on to the specimen. It is located under the stage often in conjunction with an iris diaphragm.

Iris Diaphragm controls the amount of light reaching the specimen. It is located above the condenser and below the stage. Most high quality microscopes include an Abbe condenser with an iris diaphragm. Combined, they control both the focus and quantity of light applied to the specimen.

Condenser Focus Knob moves the condenser up or down to control the lighting focus on the specimen.

When do we use numbers instead of strings?

Answers

Answer:

for what, I need more context

Explanation:

Answer:

When you need to do calculations

A celebrity blogger you have followed for years advises readers to try a new beauty product. Before purchasing the product, a savvy consumer should (5 points)

accept the blogger knows what she is talking about
recognize the blogger is being paid by a competing beauty company
question if the blogger is qualified to evaluate beauty
assume the blogger is a beauty expert

Answers

Answer:

question if the blogger is qualified to evaluate beauty

Explanation:

i need help, thank you

Answers

Answer:

umm I think it's C it's between that one and d so the 1st and 4th but leaning more towards C

To date, what has most propelled the digital revolution?
A. Multimedia advertising
B. Social networking sites
C. Desktop computers
D. Cellular phone calls​

Answers

The answer is Computer Networks. The development that has contributed most to the digital revolution is the Computer Networks. The Digital Revolution refers to the advancement of technology from analog electronic and mechanical devices to the digital technology which we have today. So it's B because computer networks is a social networking site

Explain the simliparities or difference between a workbook , worksheet and spread sheet​

Answers

Answer:

Spreadsheet vs Workbook. Summary: Difference Between Spreadsheet and Workbook is that Spreadsheet software allows users to organize data in rows and columns and perform calculations on the data. ... While Workbook is consider as whole file that can contain bundle of worksheets in it.

Explanation:

mark brainlyist

In a _error,solution is working but not giving required results

Answers

Answer:

it is a random error

Explanation:

I HOPE THAT THIS ANSWER HELPS YOU

Sunil’s basketball coach asks him to prepare a presentation for his teammates on the proper way to shoot a basketball. After researching the topic online, Sunil decides to add a visual aide to his report.

Which visual aide is the best fit for Sunil’s presentation?

a podcast describing how to shoot a basketball
a video tutorial showing how to shoot a basketball
a graph showing how many players shot a basketball
a sound bite describing a player shooting a basketball

Answers

Answer: a video tutorial showing how to shoot a basketball

Explanation:

It will show them how to shoot the basketball

Answer:

a video

Explanation:

HELP PLS QUICK TRUE OR FALSE QUESTION

Compound conditions require a computer to sense whether multiple conditions are true or false.

True
False

Answers

Answer: I think the answer is true but I don't fully understand it sorry if im wrong.

Explanation:

This is false .........

Consider the phrases “recognize speech” and “wreck a nice beach.” If you say them out fast anyone might confuse the sentences. From this it is easy to see why NLU can experience difficulties when performing voice recognition.

Name at least two issues a good voice recognition system must overcome to accurately identify natural human speech. Describe how these issues affect VR development.

Answers

Basically, they sound the same.

Explanation:

Because, when you have 2 sentences and they both sound the same the VR system recognizes only one thing because you're both saying them the same kind of way so it's really confusing.

Answer:

Dialects- because native languages have many different dialects it would be hard to account for all of the varrences. Chinese is (one of) the densest languages in the world since there are literally hundreds of thousands of sub-varieties of the language. Trying to develop a software that can capture all of these varrences will be difficult because dialects change and mutate as people move in and out of regions.  

 

Loud environments- Since voice recognition systems are used in all sorts of environments it would be hard to account for the different background noise that will be heard and have to be filtered through. Creating a VR that can identify all noises will be virtually impossible.

Explanation:

how could technology help our physical bodies

Answers

Answer: it can help our boodies by getting people more muscular and,like a treadmill.

Explanation:

Technology can help our physical bodies by reminding us to take pills or to workout or to eat or drink. Or like previously mentioned using a treadmill and other automated equipment

i need help, thank you

Answers

Answer:

i think i might be the 3 answer

Explanation:

Activity
Using Internet resources, find information on how you will install an operating system on your computer. List the steps you will use for installing
the operating system.

Answers

Answer:

If you want download operating system you need to go to You tube and look video for downloading.

Explanation:

Go to you. I think Now I don't any information.

Answer:

1. I first inserted the Windows XP CD in the CD/DVD-ROM drive. After inserting the CD, the message “Press any key to boot from CD” appeared on the screen. I pressed a key, and the message “Setup is inspecting your computer hardware configuration...” appeared on the screen.

2. Next, I pressed Enter, and the XP setup menu came up to help continue the setup.

3. When the licensing agreement came up, I pressed F8 to agree to the rules and regulations of the agreement contract.

4. Next, I pressed Esc to install a fresh copy of Windows XP.

5. At some point of the installation, I was prompted to create new partition spaces using the partition setup screen.

6. After completing the partition process, I pressed Enter to install XP.

7. Next, I chose the NTFS file system for my drives.

8. Next, I pressed Enter to start the formatting process. At the end of the formatting process, Windows started installing files.

9. I configured my system by responding to the prompts of a setup Wizard.

10. Finally, my system restarted, and the Windows XP installation was complete.

Please answer in Java
Sale! During a special sale at a store, a 10% discount is taken off of purchases over $10.00.
Create an application that prompts the user for the dollar amount of purchases and then
returns the discounted price, if any. The program should neatly display the subtotal before
the discount, the amount of money discounted (if any), the HST applied to the subtotal and
finally the total. The program should be able to handle negative numbers and give an
appropriate message.
Sample Run #1:
Enter the purchase amount: 9.45
No discount applied.
Subtotal: $9.45
HST: $1.23
Total: $10.68
Sample Run #2
Enter the purchase amount: 15.00
10% discount applied.
Subtotal: $15.00
Discount: - $1.50
HST: S1.76
Total: $15.26

Answers

Answer:

Scanner keyboard = new Scanner(System.in);

   

       

       

        double discount = 0;

        double productPrice;

        double subTotal;

        double salesTax;

        double saleTotal;

       

       

       System.out.printf("Enter the purchase amount:");

       productPrice = keyboard.nextDouble();

       

       if (productPrice > 10) {

          discount = 10;

}

       System.out.println( + discount + "% discount applied.");

       

       subTotal = (productPrice);

       salesTax = (subTotal * 0.14);

       saleTotal = (subTotal + salesTax - discount );

       System.out.printf("Subtotal: $%5.2f\n", subTotal);

       System.out.printf("Discount; -$%5.2f\n", productPrice - discount);

       System.out.printf("HST: $%5.2f\n", salesTax);

       System.out.printf("Total: $%5.2f\n", saleTotal + salesTax);

}

}

Explanation:

PLEASE HELP Due Today!
Write a paragraph explaining your opinion about the development of artificial intelligence. Minimum of five sentences.​

Answers

I guess I could just give you my opinion?

Urm, well here!

In my opinion, I think artificial intelligence is helping and destroying our country. I think in a way artificial intelligence helps schools and many others who may have learning disabilities. Having an artificial intelligence can help you answer, when you’re scared. Although, the bad part about artificial intelligence is it taking over. We are humans and we should be the ones learning to become better.

Hope that’s okay luv!

He rejected all our proposals (replace the nouns in italics by verbs)

Answers

Answer:

Our all proposals are rejected by him.

Read the scenario and then choose which type of
report it describes.
A company creates a report detailing research on
the projected sales of a new product.
O customer list
O
market-research report
o
product list
O
sales-volume report

Answers

Answer:

Market-research report.

Explanation:

Market research can be defined as a management strategy that focuses on systematically acquiring informations about occasions, trends, events or patterns through surveys and analysis of information pertaining to the customers of a business firm or organisation so as to understanding their behavior. Therefore, a market-research report would provide a business with informations such as projected sales, industry trends, competitive landscape, market values, industry size through the use of surveys, product tests and reviews.

In this scenario, a company creates a report detailing research on the projected sales of a new product. Thus, this type of represents a market-research report.

Answer:

it's B.

Explanation:

Other Questions
Which of the following best describes the charge of the nucleus of an atom?A. The nucleus can have a positive, neutral, or negative charge.B. The nucleus always has a positive charge.c. Jahe nucleus always has a neutral charge.D. The nucleus always has a negative charge.SUBMIT Why is the cell theory so important?? What are some things the Trump Administration can do to help with the transition of power? (serious responses pls) I need help with a portion web Which system of equations has the same solution as the system below?4x + 4y = 163x + 2y = 3 Find 32%of 425I will give points and Mark as brainlist Tara plants 36 flowers in her front yard. More flowers grow on their own. Right an expression to show the number of flowers in Tara's yard. Questions 817: Identify the problem in each of the following sentences: run-on, fragment, dangling participle, or lack of parallel construction.8. Her movement was limited in her left shoulder but her right shoulder was not.9. His ankle was red and swollen. Although he reported no pain.10. He has been taking an antihistamine, what he really needs is a decongestant.11. After she finished typing the letter, making the coffee, and filed the reports, Virginia took a break.12. Henry got up each morning and walked the dog then he sat down and ate some breakfast, read the paper from cover to cover, and then he finally left for work.13. Because he had never flown on an airplane before.14. Walking down the street, the Chrysler building glistened in the winter sun.15. Her greatest passions in life were quilting and to swim. A pie is made using 2 cups of sugar for every 3 cups of flour. Max knows he needs 15 cups of flour to make enough pies. How many cups of sugar does he need? Hello need help ASAP! plz answer if you know the answersLook at the digestive system, tell me if i did some thing wrong. Thank you guys Find the indicated real nth root(s) of a.n=4, a = 81What are the 2 roots A stationary 12.5 kg object is located on a table near the surface of the earth. The coefficient of static friction between the surfaces is 0.50 and of kinetic friction is 0.30. Show all work including units.A horizontal force of 15 N is applied to the object.a. Draw a free body diagram with the forces to scale.b. Determine the force of friction.c. Determine the acceleration of the object. What two cell processes allow multicellular organisms to reproduce? Who were the maroons" in st domnigue EASY!! A 5000kg truck and a 50 kg person have the same momentum. How is this possible? Please help me asap thank you! What traditional economic wisdom does the squirrel convey los problemas estn (resolver) What is the technical term for the time period between the entrance of a pathogen into the body and the first appearance of signs and symptoms Which article of the U.S. Constitution states the powers and responsibilities of the Supreme Court?.A.Article IB.Article IIC.Article IIID.Article IV