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
butalik [34]
3 years ago
14

An employee's total weekly pay is calculated by multiplying the hourly wage and number of regular hours plus any overtime pays w

hich 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.
English
1 answer:
Dahasolnce [82]3 years ago
5 0

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.

You might be interested in
Why was the sacred python killed in things fall apart
Setler79 [48]

Answer:

The Murder of the Sacred Python. In Chinua Achebe’s novel, “Things Fall Apart”, the python is presented as a sacred animal in Ibo culture, because it is literally a symbol of the god of water. This python has its own way of being addressed, as well as a specialized ceremony if killed accidentally.

Explanation:

8 0
4 years ago
The term ____ refers to the description of a subject by asserting that it is, on some point of comparison, the same as another o
11Alexandr11 [23.1K]

Answer:

C)metaphor

Explanation:

Metaphor - A figure of speech that describes a subject by asserting that it is, on some point of comparison, the same as another otherwise unrelated object.

Hyperbole - Exaggerating statements or claims that are not to be taken literally.

Personification - The attribution of a personal nature or human characteristics to something nonhuman, or the representation of an abstract quality in human form.

Alliteration - The occurrence of the same letter or sound at the beginning of adjacent or closely connected words.

4 0
3 years ago
Read 2 more answers
Does anyone know this?
Cloud [144]

Answer:

A

Explanation:

7 0
3 years ago
What best describes the role of a setting in a story
liberstina [14]

Answer:

Setting is the time and place where a scene occurs. It can help set the mood, influence the way characters behave, affect the dialog, foreshadow events, invoke an emotional response, reflect the society in which the characters live, and sometimes even plays a part in the story.  It can also be a critical element in nonfiction as the setting provides the framework for what is being discussed.

Explanation:

5 0
3 years ago
Read 2 more answers
“My greatest concern for the future is?” — speech. Need help on brainstorming topics please.
storchak [24]

Answer:

the difference between intelligent and education

4 0
3 years ago
Other questions:
  • How many letters in the alphabet
    6·2 answers
  • Jillian reads the following paragraph from a book. Tess knew the odds were against her, but duty compelled her to try; her siste
    5·2 answers
  • Make this sentence active Unknown factors delayed the 9:15 train from Pittsburgh.
    15·1 answer
  • Read the passage from Claude McKay's “Outcast,” then answer the question.
    9·2 answers
  • What is the them of the ''tree brass pennies''
    11·2 answers
  • If you were to write a paper on the scientific important of the bat research which question would help you refine your topic
    7·1 answer
  • Choose the best topic sentence for this process paragraph
    11·1 answer
  • Answer these Questions about <br><br>Properties of Water- Graphic Organizer<br><br>PDF Below
    8·1 answer
  • Write on paragraph of what significant incident helped you realize that you are a unique individual?
    12·1 answer
  • Based on its etymology, which sentence best uses the word "impetuous"?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!