![averyrogerss560](/avatars/16993.jpg)
averyrogerss560
20.06.2021 •
English
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.
Solved
Show answers
More tips
- S Style and Beauty How to Sew a Balloon Skirt: Detailed Tutorial and Tips on Choosing the Right Fabric...
- P Philosophy Agnosticism: Opinion or Belief?...
- S Style and Beauty How to choose the best mascara for your eyelashes...
- F Food and Cooking Discover Delicious Recipes You Can Make with Ground Meat...
- C Computers and Internet Google Search Tips and Tricks: Everything You Need to Know...
- S Science and Technology Why is there no gravity on other planets?...
- L Leisure and Entertainment How to Properly Wind Fishing Line onto a Reel?...
- L Leisure and Entertainment How to Make a Paper Boat in Simple Steps...
- T Travel and tourism Maldives Adventures: What is the Best Season to Visit the Luxurious Beaches?...
- H Health and Medicine Kinesiology: What is it and How Does it Work?...
Answers on questions: English
- E English Are my answers correct??...
- E English Short paragraph Answer Question: Consider the way death affects the way people view the value and meaning of life. In Shakespeare s time, most people were Christians and...
- E English If a fiction writer aims to persuade, why might it be important to inspire sympathy or empathy for a character? A. If a reader sympathizes or identifies with a character,...
- E English Estos dos chicos se llevaron mi corazón en 2013 (tenía como 5 años)...
- E English You want some points?...
- E English Which story topic would most likely be explored in green literature? a. a gardener befriends a deer to who likes to eat tomatoes from hisgarden.b. a biologist discovers...
- E English which action did john muir take that brought about green awareness? a. he fought for endangered species by joining forces with wildlifeprotection services.b. he wrote...
- E English Psychologists come up with research questions based on which of the following? a. everyday experiences and common sense. b. other research studies. c. observations in...
- E English Who wrote the modern chivalry of the first american novel to portray life during the revolutional war era?...
- E English What did the Otis family found the next morning?...
Ответ:
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.
Ответ:
The Arab League is a regional multi-national organization of Arabic-speaking countries on the African and Asian continents. The Arab league's mission is to promote trade and economic growth as well as sovereignty and political stability in the region.