In Java Fill in the missing code in the totalWages method, which calculates the total earnings for a week based on the number of hours worked and the hourly rate. The pay for overtime (hours worked over 40 0 is 1.5 times the regular rate. For example, totalWages(45, 12.50) should return 593.75.

public double totalWages(double hours, double rate)
{
double wages;
< … missing code >
return wages;
}

Answers

Answer 1
wages = 0.0;
if( hours > 40.0 )
    wages = (hours - 40.0) * rate * 1.5;
    hours = 40.0;
wages += (hours * rate);

Related Questions

6. Which file format is recommended for black and white photographs? Why?

Answers

The file format recommended for black and white photographs is RAW.

The reason for this choice is that RAW format does not process the image, thus, leaving the complete control of the image to the user.
It will offer you great flexibility and a wide variety of options in terms of editing your photograph.

Funny or fascinating web content is said to go _________ when it is shared and re-shared a large number of times over a short period.

Answers

it is said to go viral?

Which type of attack attempts to overwhelm network links and devices with useless data?

Answers

A DDoS attack is a type of network attack that overwhelms a network with pointless data to the point that normal users can't get access to basic functions. This was notably done to The Playstation Network several years ago.
Final answer:

A Distributed Denial of Service (DDoS) attack attempts to overwhelm network links and devices with useless data.

Explanation:

The type of attack that attempts to overwhelm network links and devices with useless data is called a Distributed Denial of Service (DDoS) attack.

In DDoS attacks, hackers flood a target network or website with an enormous amount of traffic, making it unable to handle legitimate requests. This is achieved by using a network of compromised computers called a botnet to send the malicious traffic.

For example, hackers might use a DDoS attack to target an online shopping website during a busy holiday season, causing the site to slow down or even crash, preventing customers from accessing the site.

Which layer of the osi model provides common representation of the data transferred between application layer services?

Answers

The Session Layer (5).

a. True
b. False: the arguments in a module call and the parameters listed in the module header must be of compatible data types.

Answers

True ? They have to be of the same type, comatible isn't absolute enough. But I may be overthinking it.

The term "net radiation" refers to _____ the total amount of energy received by earth. the total amount of energy radiated by earth. the difference in amount of incoming and outgoing radiation. radiation emitted by satellite networks.

Answers


The term "net radiation" refers to the difference in amount of incoming and outgoing radiation the total amount of energy received by earth.

Energy comes from the sunlight penetrates the top of the atmosphere- that's the incoming energy. Then some of it is lost by reflection of clouds or the Earth's surface, thermal radiation- that's the outgoing energy.

The last host address on the 10.15.25.0/24 network is

Answers

10.15.25.254 or 10.15.25.254/24
Final answer:

The last host address on the 10.15.25.0/24 network is 10.15.25.254. The /24 network provides 256 possible addresses, but the first and last addresses are reserved for network and broadcast addresses respectively.

Explanation:

In a /24 network, the last octet (8 bits) of the IP address is used for identifying hosts. The 10.15.25.0/24 network range offers 256 possible addresses, from 10.15.25.0 to 10.15.25.255. Among these, 10.15.25.0 is the network address and 10.15.25.255 is the broadcast address. Therefore, the last host address - the final usable IP address within this network - is 10.15.25.254.

Learn more about IP Address here:

https://brainly.com/question/35862697

#SPJ6

You try to enter your name into a cell that accepts a numeric value. What error would you receive

Answers

A. #NAME

B. #VALUE

C. #REF

D. #####

E. #DIV


#VALUE on plato

your answer is B. #VALUE

Software that instructs the computer how to run applications and controls the display/keyboard is known as the /7367008/81dc7fcb?utm_source=registration

Answers

The answer is the alu arithmetic logic unit. (:

_____ rows indicate that there is different formatting for odd and even rows.

Answers

Banded rows indicate that there are different formatting for odd and even rows.

In addition to displaying subtotals, the subtotal feature "____" your worksheet so you can control the level of detail that is displayed.

Answers

In addition to displaying subtotals, the subtotal feature "outlines" your worksheet so you can control the level of detail that is displayed. The statement suggests that the displayed details levels are controlled in displaying subtotals in the subtotal feature table.

additional rows and columns are inserted into a table by using the _____ tab

Answers

insert tab
up at the top
have a nice day

Answer:

Layout

Explanation:

To add additional rows or columns, click anywhere in the table and click on the layout tab

To add rows ,click insert above or insert below.

To add columns click insert left or insert right.

A(n) ________ variable is declared inside a module and cannot be accessed by statements that are outside the module.

Answers

local






----------------------------------------------------

In the dns naming convention, what character(s) separate(s) a domain name from its subdomains?

Answers

In the dns naming convention, the domain name separates the sub-domains by "DOT" (.) character.

DNS or Domain Name System is written in a conventional method as Host. Domain. Root. This system allows only 255 characters while naming a domain that also includes the spaces in between. Sub-domain is the part of a large domain.

Mike accidentally wrote a check for more than the balance in his checking account. The bank transferred money from his savings account to his checking account to cover the check. This banking service is _____.

Answers

Transfer. His back transfers money from one account to another.

Answer: The correct answer is overdraft protection.

Explanation: The service that a bank offers when they transfer money from the savings account to a checking account to cover an overdraft is called overdraft protection. Some banks may charge for this service, but others do it for free.

The default dfs namespace mode is windows server 2008, which supports up to 50,000 folders. how many folders does using non-windows server 2008 provide?

Answers

35 millions folders windows servers

Krystal recorded her times for all her cross-country meets this season. To sort her data showing the lowest times first, what will she need to do?

Sort alphabetically
Sort ascending
Sort descending
Sort numerically

Answers

Sort ascending would be the correct one, since you are going from the lowest value to the highest

The answer is: Sort Ascending

Sort ascending refers to a data arrangement method that is being done through low to high sequence. Some example of sort ascending include things such as showing data from lowest time to highest time, sorting data using initials from A to Z, sorting ranking from 1 - 10th , etc.

You need to upgrade memory in a system but you don't have the motherboard documentation available. you open the case and notice that the board has four dimm slots

Answers

The three yellow slots probably indicate triple channeling, which means the board uses DDR3 DIMMs. To know for sure, remove a DIMM and look for the position of the notch on the DIMM.

A team wants to set up a computer lab for their library. Members would be able to access and read books using the computers in the library. After researching about risks, they decide to install only desktop computers instead of tablets. This strategy might prevent the risk of computers being stolen. Which risk management technique are they following?

A.) risk acceptance
B.) risk mitigation
C.) risk avoidance
D.) risk transfer

Answers

C . Risk avoidance
they don't want anyone to steal their stuff so they get their desktops to avoid anything getting stolen

A type TW cable containing two No. 12 copper conductors has a maximum overcurrent protection of
A. 20 A.
B. 15 A.
C. 30 A.
D. 25 A.

Answers

i think it is 25 im not sure though

Answer:

A. 20 A.

Explanation:

The National Electrical Code (NEC) Table 310-16 states that unless there is another specific provision in this code, the overcurrent protection in relation to the conductor types that has an obelisk( ) mark shall not be greater than 15 amps for No. 14, 20 amps for No. 12, and 30 amps for No. 10 copper; or, in relation to aluminum and copper clad aluminum, it shall not be greater than 15 amps for No. 12 and 25 amps for No. 10 after factors for ambient temperature and number of conductors have been adjusted as necessary.

Therefore, a type TW cable containing two No. 12 copper conductors can not have more than 20 A (i.e. 20 amps) overcurrent protection.    

Which of the following should be considered when conducting an audience analysis ?

Answers

1. Think about it
2. Interview the event organizer
3. Interview audiance members
4. Survey your audience members
5. Poll people similar to your audience.
6. Study past event archives.
7. Review current event materials
8. Make observations at the event itself
9. Make observations during your presentation
hope this helps

Answer:

The intended users prior knowledge of the content at hand

Explanation:

Audience analysis means assessing the audience to make sure that the information provided to them is at the appropriate level and that the audience have the prior knowledge of the content at hand.

The audience are the end-user and all communications need to be targeted towards the audience.

Audience analysis looks at: Socio-demographic traits as sex, age, language, religion and where the audience lives.

Which type of encryption is the most popular form of e-mail encryption?

Answers

Public Key Cryptography is the most popular form of encryption in emails. This type of encryption utilizes "keys" only known to the owner of the set of data. 

Why is the definition for second based on the Cesium 133 atom?

Answers

It is qualitatively defined as the second division of the hour by sixty, the first division by sixty being the minute. The SI definition of second is "the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom".

In normal view, powerpoint's ________ contains buttons such as notes, comments, and view.

Answers

In normal view, powerpoint's status bar contains buttons such as notes, comments, and view. Status bar is located at the bottom of the PowerPoint application window, and it is needed to show both all the information about the document and user's ability to change the settings of a presentation. Status bar includes such specific items as : zoom control, slide number, comments and note pane buttons and view control.

People without a college education
A. earn on average $2 million less over the course of a lifetime than those who have a college education.

B. are more likely to have high birth-weight babies.

C. earn on average two times less money per year than those who have a college education.

D. make more money over the course of their lifetimes because they enter the workforce earlier.


Answers

im would say c  
hope i helped 

Answer:

C) earn on average two times less money per year than those who have a college education.

Explanation:

A study made by Georgetown University concluded that on average, college graduates earned $1 million more than high school graduates during their total lifetime.  

High school graduates earn on average $30,000 per year while college graduates earn on average between $50,000 to $70,000 per year. Those who achieved a master's, doctorate or professional degree earn the highest amounts.

With a _____ network connection, the computers and other devices on the network are physically connected via cabling to the network.

Answers

Answer:

Wired network connection

Explanation:

A wired network connection uses Ethernet cables to transmit data between different computer devices and connect computers, routers, and switches in a local area network. Wired networks are speedy and reliable with less risk of data packets loss but the upgrading cost of wired networks is more than that of wireless networks.Wired networks can be small in which a single router can connect computers in a network and wired networks can also be large in which many routers and switches are used to connect computers. Wired network the computers are connected to Internet  using T1 line or cable modem.Local Area Network (LAN) is an example of a wired network.

Final answer:

A wired network connection involves computers and devices being physically connected using cables such as coaxial or fiber optic cables. In television, cable programming uses this network to transmit directly to viewers' homes.

Explanation:

With a wired network connection, the computers and other devices on the network are physically connected via cabling to the network. This is in contrast to a wireless network, where devices connect via radio waves. The wired network often uses coaxial or fiber optic cables to transmit data. In the context of television, cable programming is transmitted through these cables from a cable company hub directly to viewers at home, bypassing the need for broadcast transmission towers and local affiliates.

A touch screen is classified as a special type of scanning device true or false

Answers

The anwser is true. It is special type


A touch screen is a device that can be sued for making scree-related touches and is as it touch sensitive and measures the responses from the touches. It is a type of scanning device that is stylus uses the pressure and is used to make images on the screen.

Hence the option is false as the touch screen is not classified as a true scanner it don't scan and is only a touch-sensitive element.

Hence the option False.

Learn more about the classified as a special type of.

brainly.com/question/19636949.

I plugged my phone up into a charger, the charger sparked and i unplugged my phone and now it wont charge at all, does anyone know what is wrong or how much it would be to fix it?

Answers

The most probable answer is that their was a short on the charger causing your phone's charging port to blow out. You can fix this yourself with a hot air soldering gun to remove the charging port and replace it with an identical port but it is not recommended if you have a warranty. As for prices it depends on the phone.

All 50 states have laws that require children, at least to age ______, to be properly secured in safety-tested and approved child safety seats.

Answers

u have to be 80 lbs and 13 years old to ride on the front seat in most states

Most search sites use a ____, a software program in conjunction with a huge database of information about web pages to help visitors find web pages that contain the information they are seeking.

Answers

Most search sites use a search engine.

A search engine refers to a general class of programs that search and identify items from a huge database of information corresponding to certain keywords or characters specified by the person seeking for a particular information usually from web pages and sites on the World Wide Web. 
Other Questions
Find the exact value of the trigonometric function. (if an answer is undefined, enter undefined.) tan(30) The local newspaper has letters to the editor from 20 people. If this number represents 4% of all of the newspaper's readers, how many readers does the newspaper have? What is the cause of the hyperpigmentation seen in people with cushing syndrome?a. permissive effects of aldosterone when cortisol levels are alteredb. hypersensitivity of melanocytes with sun exposurec. elevated levels of acthd. abnormal levels of cortisol? from the time of my beginning, my part was made of fibrous material called collagen, which is secreted by How did the political structure in classical India differ from the political structure in classical China?A.India had a more centralized government.B.China gave most power to regional councils.C.India had a more decentralized government.D.China outlawed bureaucracy in government. 5.which element has 2 more protons than nickel? Kingsolvers essay could be called botanical essay because help please!!!!!Carlotta is constructing an equilateral triangle. She has already constructed the line segment and arc shown. What should Carlotta do for her next step?Place the point of the compass on point Q and draw an arc that intersects the first arc, using the same width for the opening of the compass as the first arc. Use the straightedge to draw a line that passes through point P and intersects the arc. Use the straightedge to draw a line that passes through point Q and intersects the arc. Place the point of the compass on point Q and draw an arc that intersects the first arc, using a width for the opening of the compass that is less than 1/2PQ. Write an equation of the line passing through point P (2,3) that is perpendicular to the time y-4=-2(x+3) Some critics consider franklin self-righteous and materialistic; others have ridiculed his plan for moral perfection as regimented and superficial. do you find any evidence for these charges in the excerpt? Give the slope of y - 3 = 4 ( x + 8 ) and a point on the line. Consider the following arithmetic sequence 25,19,13,7... is the common difference 6 or -6 ? Explain G oil of wintergreen, c8h8o3 is prepared when methanol, ch3oh, is reacted with salicylic acid, c7h6o3. what is the percent yield of a reaction in which 15.3 g of oil of wintergreen is collected after 16.3 g salicylic acid is reacted with an excess of methanol? ch3oh + c7h6o3 c8h8o3 + h2o How did the Huang Rivers nickname, River of Sorrows, reflect its impact on early Chinese civilizations? A regional soccer tournament has 64 participating teams. In the first round of the tournament, 32 games are played. In each successive round, the number of games played decreases by a factor of 1/2. Find the total number of games played in the regional soccer tournament. Why did the people storm the bastille, who was involved ? Studies find that around the time of ovulation, women have a slightly ________ voice pitch than usual and they wear ________ sexually attractive clothing than usual. Suppose y varies directly with x. If y = 4 when x = 8, what is the equation of direct variation? Complete the steps to write the equation of direct variation. Start with the equation of direct variation y = kx. Substitute in the given values for x and y to get . Solve for k to get . Write the direct variation equation with the value found for k. The equation is why did entrepreneurs form trusts? A certain ion has a charge of 2+ and 27 electrons. which ion is it Steam Workshop Downloader