An employee's total weekly pay is calculated by multiplying the hourly wage and number of regular hours plus any overtime pays which in turn is calculated as 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 prints an employee's total weekly pay.

Answers

Answer 1

Answer and Explanation:

Using Javascript:

Function TotalWeeklyPay(rate,hours,overtimeHours)

{

var total = rate*hours+overtimeHours*1.5*rate;

return total;

}

TotalWeeklyPay();

In order to take input of hourly wage, total regular hours, and total overtime hours, we make them our parameters in the function TotalWeeklyPay() and then use them to calculate total weekly pay in our function. We call the function TotalWeeklyPay() after definition.


Related Questions

is “i hope you have the most amazing day” a correct sentence?

Answers

Answer:

No. The i should be capitalized and you should have some form of punctuation at the end.

write a semi formal letter to your boss telling him or her you will not be able to meet up with the deadline given to you. in your letter ,state reasons why you want your boss to reschedule your subbmittion and reschedule a new date​

Answers

Answer:

i dont know

Explanation:

Read the excerpt from Roosevelt’s State of the Union address and the poster below it.

As spokesmen for the United States Government, you and I take off our hats to those responsible for our American production—to the owners, managers, and supervisors, to the draftsmen and the engineers, and to the workers—men and women—in factories and arsenals and shipyards and mines and mills and forests—and railroads and on highways.

Poster about construction workers.

The speech connects factory work to the war by thanking workers in various American industries, whereas the poster relies heavily on

repetition and parallelism to convey this connection.
diction and images to convey this connection.
repetition and colors to convey this connection.
parallelism and images to convey this connection.

Answers

Answer: diction and images to convey this connection.

Explanation:

The speech connects factory work to the war by thanking workers in various American industries, whereas the poster relies heavily on diction and images to convey this connection.

The speech by Roosevelt thanked the Americans that were responsible for its production and connected them to the war. The poster on the other hand used diction and images to convey this connection.

Answer:

Answer A The poster’s images feature the male factory workers more prominently and almost hides the female worker in the background, while the speech specifically acknowledges both male and female workers equally.

Explanation:

Just took the test

When selection is indicated for elements in the data dictionary:
A) a simple sequence of structured English statements is all that is necessary.
B) an IF...THEN...ELSE structure must be present in the structured English statements.
C) DO WHILE, DO UNTIL, or PERFORM UNTIL structured English statements must be included.
D) a decision tree must be used to depict the logic.

Answers

Answer:

B

Explanation:

an IF... THEN... ELSE are structures of English elements

Which two of these elements are found in the Hopi story?

Answers

Answer:

1. culture differences between the Hopi and spainards

2. Tradition of Hopi people

Actually it's from web

Drag each tile to the correct box. Identify the type of phrase underlined in each excerpt from Rogue Heart by Axie Oh. "Still I attempt a little brokenly" "I've been in love with the same person" "The dreamers gather in Neo Beijing's starlight district" "She doesn't expect a verbal answer from me—as a Mandarin speaker" Type of Phrase Excerpt prepositional phrase arrowRight adverbial phrase arrowRight verb phrase arrowRight noun phrase arrowRight

Answers

Answer:

"I've been in love with the same person" - Verb phrase

"The dreamers gather in Neo Beijing's starlight district" - Prepositional phrase

"She doesn't expect a verbal answer from me-as a Mandarin speaker"- Noun phrase

"Still I attempt a little brokenly."  - Adverbial phrase

Explanation:

Verb phrase is described as the phrase that consists of a main verb along with any auxiliaries and functions syntactically as a verb to indicate an action, state, or event. While A Prepositional phrase comprises of a preposition and its object or complement. It functions either as an adjunct or modifier in a sentence to add detail. A noun phrase is characterized as the group of words that together act as a noun in the sentence either in the form of a subject or object. And an adverbial phrase aims to modify or refine a verb, adjective, or adverb by elaborating when, how, where, why, the action took place. As per these definitions, the underlined phrases have been categorized.

Which of the following would you need to pass with a grade of C or better to
earn college credit?
A. A course offered by the College Board
B. A traditional course
O C. A dual enrollment course
D. An AP course

Answers

Answer:

C. A dual enrollment course

Explanation:

Why did odysseus have to rescue his men from the Lotus-eaters? ?

Answers

Answer:

a.  Because they did not want to return home

Explanation:

more to know click here  

http://en.wikipedia.org/wiki/Odysseus

hope it helps pa brianlinest po pllll

Answer:

A.

Explanation:

His men didn't want to return home.

What event marks the beginning of the rising action in the most dangerous game

Answers

Answer:

The rising action occurs when Rainsford finds out that he is being hunted by General Zaroff

what are two questions a reader should ask when analyzing how an author develops the thesis in an informational text?

Answers

Answer:

WHAT IS THE THESIS? THE OTHER IS HOW DOES THE THESIS APPLY TO ME?

Explanation:

I JUST THOUGHT OF THE ANSWER WOULD BE AN DI CAME WITH THAT AS THE ANSWER.

What is 19207 times 2869
Can you guys ask me question's for YT? Im going to do a QNA

Answers

Answer:

55104883

What is your main goal in life?

Fav color?

What sports do you like to play?

Do you have any pets? What are their names?

In the 1400s, Spain and Portugal were competing to explore down the coast of Africa and find a sea route to Asia. That w...

Answers

Read the passage from Sugar Changed the World.

In the 1400s, Spain and Portugal were competing to explore down the coast of Africa and find a sea route to Asia. That way, they could have the prized Asian spices they wanted without having to pay high prices to Venetian and Muslim middlemen. Spanish and Portuguese sailors searching for that sea route conquered the Canary Islands and the Azores. Soon they began building Muslim-style sugar plantations on the islands, some of them staffed by slaves purchased from nearby Africa. One sailor came to know these islands particularly well because he traded in "white gold"—sugar. And then, as he set off on his second voyage across the sea to what he thought was Asia, he carried sugar cane plants from Gomera, one of the Canary Islands, with him on his ship. His name was Christopher Columbus.

How do the details in the passage most support the central idea?

Answer:

The details describe how Spanish and Portuguese explorations helped expand the sugar trade.

Explanation:

The passage explained how the sugar trade expanded. Using the historical evidence of Spanish and Portuguese exploration to depicts how the sugar trade expanded from the Muslim world to the canary islands nearby Africa through the Europeans and later to America.

Hence, the details in the passage support the central idea by describing how the Spanish and Portuguese explorations helped expand the sugar trade.

describe the word environment​

Answers

Answer:

Environment can be defined as a sum total of all the living and non-living elements and their effects that influence human life. While all living or biotic elements are animals, plants, forests, fisheries, and birds,. non-living or abiotic elements include water, land, sunlight, rocks, and air..

Answer:

The surrounding or condition in which person, animal, or plants live or operates.

Which sentence, if added, would make the best revision of the conclusion? "Where is the main trail?" I asked while searching the map. After surviving those miserable hours in the desert, I learned the value of being prepared. My friends invited me to go for a hike, and although it was a hot summer day, I agreed to go, because I had nothing else to do. "Be sure to drink some water," Tara reminded u

Answers

Answer: After surviving those miserable hours in the desert, I learned the value of being prepared.

Explanation:

The sentence that would make the best revision of the conclusion will be that "After surviving those miserable hours in the desert, I learned the value of being prepared".

From the story, we can infer the importance of being prepared as the extra food that was packed made them for home safely even though they were lost in the desert for several hours.

b

explanation

just plain b


In a few sentences sum up the story of Revere ride as it is described in the poem

Answers

I don't exactly have a poem to go off of here, but what happened was that Paul Revere saw the signal lanterns under Christ church and night. This was a signal that the British were there and ready for war. Then he got on his horse, and went all through town screaming "The British Are Coming!" which woke everyone up, and they saw the lantern as well. Paul's warning gave the colonists and the militia men time to prepare for the fight. Basically saving them.

Hope This helped :)

What is the meaning of conferred on in this sentence from the
passage?

This mark is conferred on the person entitled to it, by cutting the skin across at the top of the forehead, and drawing it down to the eye-brows; and while it is in this situation applying a warm hand, and rubbing it until it shrinks up into a thick weal across the lower part of the forehead.

a) talked about

b) consulted with

c) cut into

d) bestowed upon

Answers

Answer: Bestowed Upon

Explanation:

that is the letter for the english question i post help plz!!​

Answers

Answer:

99SqmyahabsnansbznMamsnsk

2. Chronic stress causes
changes to the endocrine system.

True
False

Answers

Answer:

falso

Explanation:

si no me equivoco......

I believe it is false

A supporting text may be

Answers

Hey!


Supporting text give a reader details to understand a main idea, or evidence to show why a claim is true or correct. You will find supporting sentences in the middle of a paragraph – after the topic sentence, and before a concluding sentence or transition.

kason11wd who are you

Answers

Answer:

Huh

Explanation:

There can be multiple accents within a dialect.
A. True
B. False

Answers

The correct answer is A. True.

Explanation

A dialect is a variation of the main language that is originated in different geographical regions of a country. Dialects are determined by a factor such as specific words used in the region, and accent (the result of a social, geographical, and cultural process that affects the intonation of words). This means, accents are just a part of dialect and due to this there can be many accents or ways to pronounce words in a dialect. According to the above, the correct answer is A. True.

Who is a minor character in "Rikki-Tikki-Tavi"?

Answers

Answer:

Darzee's wife, Karait, Chuchundra, and the Coppersmith.

Explanation:

what role do transitions play in writing ?

Answers

Answer:

Transitions are words or phrases that carry the reader from one idea to the next. They help a reader see the connection or relationship between ideas and, just as important, transitions also prevent sudden, jarring mental leaps between sentences and paragraphs.

What is the the Valley of Ashes?*

Answers

Answer:

The industrial area of Queens in between West Egg and Manhattan. It's gray and smokey and that's why it's called that. It's not really made of ashes.

Read the excerpt from "The Cask of Amontillado":

It was now midnight, and my task was drawing to a close. I had completed the eighth, the ninth and the tenth tier. I had finished a portion of the last and the eleventh; there remained but a single stone to be fitted and plastered in. I struggled with its weight; I placed it partially in its destined position. But now there came from out the niche a low laugh that erected the hairs upon my head. It was succeeded by a sad voice, which I had difficulty in recognizing as that of the noble Fortunato.

The bolded line best supports which central idea? (4 points)

Hard work
Distress
Dignity
Success
Plz help!!!!!!!!!!!!!!!!!!!!!!

Answers

Answer:

Distress

Explanation:

Since he was struggling in what he was doing, such as placing the stone in it's place and that it was not perfect and was just partial. Shows that he was worrying. Also because the hair on his arms were standing up, it showed that he was stressed and scared  because of Fortunato's odd response. I hope this is correct!

write the similarities and differences between the character muntaz and grandfather Akbar​

Answers

Answer:

They were different in many ways. Shahjahan reign was very peaceful. He did not fight many wars hence he was more focused on building monuments etc. Shahjahan was not very religious. He was very secular King. He liked grandeur and had a lavish lifestyle

Aurangzeb was very religious and led a very simple life. Aurangzeb did not like to live a grand life and his personal expenses were borne by selling Quran written by him. Aurangzeb was always fighting some war or the other and as a result, he had a vast Kingdom much larger than he had inherited from Shahjahan,

Even in his death, Aurangzeb preferred to be buried in a simple grave and not build a huge Mausoleum like Taj Mahal preferred by his father

Explanation:

What can you conclude about the daughters, based on the passage? Check all that apply.

Answers

Answer:

where is the passage?

Explanation:

The following entry appears on the "Works Cited" page of an informational text:

Lee's Lion Safari. 22 October 2011. Awesome African Adventures Incorporated. "3 April 2013" (http://www.aaai.com/safari/lions/).

What does the date 3 April 2013 reveal?

A. The date the informational text was written
B. The date the website was accessed for research
C. The date the website was originally published
D. The date the website was last updated

Answers

Answer:

a :)

Explanation:

I need to meet the required words

B. The date the website was accessed for research

The Lion Safari is located at 2003 Lion Country the Safari Road, Loxahatchee, Florida 33470. We are approximately 20 miles west of downtown West Palm Beach, approximately 59 miles the north of downtown Ft. Lauderdale, and approximately 78 miles north of the Miami.

How far is Lion Country Safari from the Miami?

We are approximately 20 miles of west of downtown West Palm Beach, approximately 59 miles north of the downtown Ft. Lauderdale, and the approximately 78 miles north of Miami.

During cold periods, some species are not be on displayed in the Game Reserves. African Lion Safari reserves the rights to change displays without notice.

Learn more about Lion Safari here

https://brainly.com/question/15267564

#SPJ2

What kind of story ridicules another story to make a point?
O an allusion
a pun
an anecdote
a parody

Answers

Answer:

Parody

Explanation:

In literature, parody is the imitation of a certain writer's or school of writers' style and manner. The goal of parody is usually negative: it draws attention to a writer's perceived flaws or a school's overused traditions in order to mock them.

The root has other forms built on the letter a. Is it able or ible

Answers

Answer:

able

Explanation:

When the root has other forms built on the letter a, the -able form is used. When the root ends in hard c or g, -able is used. When the word has an immediate -tion form, -ible is used. When the root ends in ns, miss, or soft c or g, -ible is used.

Other Questions
(3) 1.1 Refer to Source A. Motivate why Woza Albert will be a suitable choice for a school production. Synthetic fiber has many characteristics that makes it more attractive than natural fiber for making clothing. Which of the following choices are true1. Synthetic fiber has greater shape retention2. Synthetic fiber often costs less3. ALL options are correct4. Synthetic fiber has greater durability5. Synthetic fiber is more prone to heat damage in the wash than natural fibers Use the drop-down menus to complete the statements.In the circular flow model, households provideto firms. This is represented by the letter A.In return, within the circular flow model, firms provide households with. This is represented by the letter B.Firms then provideto households. This is represented by the letter C.Finally, households provide theirto firms. This is represented by the letter D. Salaries of $4,000 are paid for a five-day week on Friday. Journalize the necessary adjusting entry of the month ends on Thursday. Figure ABCD is a rhombus.Rhombus A B C D is shown. Angle A is (5 x + 25) degrees and angle D is (7 x minus 1) degrees.What is the value of x?13142628 imagine that in a u.s. presidential election Mr do wins 35% of popular vote in Illinois and mr. white gets 65% what percent will mr doe get? Please help Suppose a student is asked to write a research paper on the outcome of the hundred years war between England and France which question would best help the student to narrow his or her researchA. What were the major events of the Hundred Years War?B. Have any other wars in history lasted 100 years?C. What was happening in the Americas at the time of the Hundred Years War?D. How well do students today understand the outcome of the Hundred Years War?SPOILER ALERT THE ANSWER is A (what were the major events of the hundreds years war)I wish yall luck, I believe in yall! Which equation describes the function table?A b = a - 1B a = b - 1C b = 3a + 3D b = 2a + 1 8. Find TN, MP, TQ, PTPlease and thank you! What statement can bedrawn from the "Iron CurtainSpeech", given by WinstonChurchill?A. The United States would have tocontrol all of Germany to stop the spreadof communism.B. The Soviet Union was returning controlback to Eastern European countries afterthe war.C. The Soviet Union was expanding theirpolicies into Eastern Europe and extendingtheir power. Can someone help me with number 9 please COMPUTE THE PROBABILITY. If, in a typical work day, a staff member receives 34 emails, what is the probabilitythat in a 5-day work week she will receive less than 175 emails? What is the simplified value of the expression below?3(8-4)+2x5.53147 How do I Simplify V5(8+3V6) ??? Graph the following inequality. Then click to show the correct graph.3x - 2y 6 easy math please help i'll mark brainliest Someone please help me ASAP 4. Refer to the image below. Which statement is FALSE? *O Option 1: ATP isn't used in this process.Option 2: This process is an example of passive transport.OOption 3: Molecules move from an area of high concentration to an area of lowconcentration.O Option"4: This process occurs across the cell membrane.O Option 5: ATP is used in this process. The product of 7 , and a number increased by 8 , is 105. What is the number? L Pretest: Unit 2Question 11 of 50As a result of its high volume of trade with Great Britain, the Mughal Empire:A. controlled trade routes between Europe and Asia.B. gradually lost control over its own economy.C. rapidly upgraded its military using new technology.D. was pressured to abandon its Sharia legal system.SUBMIT