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
kumpel [21]
2 years ago
13

JAVA

Computers and Technology
1 answer:
Leokris [45]2 years ago
8 0

Answer:

Answer provided in screenshot, not really too happy with my implementation but it works.

Explanation:

Iterate through months, handling logic for every 12 months to get the raise.

You might be interested in
Where might the Null Object pattern be useful?
Tanzania [10]

Answer:  Null Object pattern be useful when the absence of an object can be encapsulated by other alternatives which does not have any have any effect.

Explanation:

public interface Rectangle {

double area();

   double surfaceare();

   boolean isNull();

}

In the code above we have a function for null object. So in the absence of an object we have encapsulated with a method of null which does not do anything. It simplifies the use of dependencies that can be undefined.

In case of collaborator the NULL object pattern makes use of the existing collaboration instead of defining a new one.

It also enable to abstract the handling of null objects from the client so that internal details of the program are not know to outsiders.

5 0
2 years ago
Write a program that gets five integer test scores from the user, calculates their average, and prints it on the screen. Test yo
Alex

Answer:

total = 0

for i in range(5):

   score = int(input("Enter a score: "))

   total += score

average = total / 5

print("The average is " + str(average))

Explanation:

*The code is in Python.

Initialize the total as 0

Create a for loop that iterates five times. Inside the loop, ask the user to enter a score. Add the score to the total (cumulative sum)

After the loop, calculate the average, divide the total by 5

Print the average

5 0
3 years ago
Choose the proper term to describe each of the following examples.
Lady_Fox [76]

Answer:first 1

Explanation:

4 0
2 years ago
How can a Word user insert a page break into a document to isolate a table on a new page?
ki77a [65]

Answer: hit control key and enter key at the same time.

Explanation:

on the keyboard hold down the control key and enter key.

6 0
2 years ago
Read 2 more answers
The data section called Transaction Growth shows how many boxed sets were sold each month. Keith entered a formula into the rang
Lilit [14]

Answer:

Please find the complete solution in the attached file.

Explanation:

In this question for a complete solution the table file is added please find it.

For this go to cell number O6

In which we modify the formula that is =MAX(B6:M6)

After that, press enter at this value is calculated.

Then copy the formula to O7:O10

7 0
3 years ago
Other questions:
  • Is anyone familiar in drawing flow charts for c++ programming
    14·1 answer
  • Write a static method called bothStart that allows the user to input two Strings and returns the String that is the longest subs
    10·1 answer
  • What can I do if my mouse on my laptop keeps freezing on me for 5 minutes
    11·1 answer
  • What natural resource are available on the coast but not somewhereelse
    13·1 answer
  • Software that function as an electronic file cabinet
    7·1 answer
  • Mary is a big fan of tropical fish. She has a few tanks of fish at home. To maintain a healthy environment for the fish, she nee
    9·1 answer
  • Hey good to mett you
    15·1 answer
  • What changes should be made in OSI model(Open System Interconnection).
    5·2 answers
  • RTOS stands for ______ Time Operating System.
    11·1 answer
  • Should a UDP packet header contain both Sour Port # and Destination Port #?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!