answer.
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
elena55 [62]
2 years ago
10

Complete the function ConvertToDecadesAndYears to convert totalYears to decades and years. Return decades and years using the Ti

meDecadesYears struct. Ex: 26 years is 2 decades and 6 years.

Computers and Technology
1 answer:
Sergeeva-Olga [200]2 years ago
6 0

Answer:

It is a C++ program. The complete function   ConvertToDecadesAndYears which takes totalYears as parameter and convert totalYears to decades and years is provided in the attached document.

Explanation:

The explanation is provided in the attached document.

The screenshot of the complete code along with its output is attached.

You might be interested in
Using Amdahl’s Law, calculate the speedup gain of an application that has a 60 percent parallel component for (a) two processing
Nina [5.8K]

Answer:

a) Speedup gain is 1.428 times.

b) Speedup gain is 1.81 times.

Explanation:

in order to calculate the speedup again of an application that has a 60 percent parallel component using Anklahls Law is speedup which state that:

t=\frac{1 }{(S + (1- S)/N) }

Where S is the portion of the application that must be performed serially, and N is the number of processing cores.

(a) For N = 2 processing cores, and a 60%, then S = 40% or 0.4

Thus, the speedup is:

t = \frac{1}{(0.4 + (1-0.4)/2)} =1428671

Speedup gain is 1.428 times.

(b) For N = 4 processing cores and a 60%, then S = 40% or 0.4

Thus, the speedup is:

t=\frac{1}{(0.4 + (1-0.4)/4)} = 1.8181

Speedup gain is 1.81 times.

8 0
2 years ago
Use the drop-down menus to complete each sentence about the layers of the atmosphere.
REY [17]

Answer

Use the drop-down menus to complete each sentence about the layers of the atmosphere.  

If the Mesosphere did not exist, Earth might be destroyed by chunks of rock from space.

The Stratosphere is located 12 to 50 kilometers from Earth’s surface.

Both the Mesosphere and Troposphere get colder as altitude increases.

The ozone in the Stratosphere protects people from ultraviolet (UV) radiation.

The Themosphere has the highest temperature of any layer in Earth’s atmosphere.

u welcome

6 0
2 years ago
Read 2 more answers
The technique where a system clock generates interrupts, and at each clock interrupt the OS regains control and assigns the proc
Misha Larkins [42]

Answer: Time slicing

Explanation:

 Time slicing is one of the technique that basically implement the multitasking in the operating system. It basically generate the interrupt and at the each clock of the interrupt in the operating system basically regain  control and then assign that particular system or processor to the another user.

Time slice are typically work in milliseconds. By using the multi users system, the time slice is the total amount of the processing time for the each user get assigned.

7 0
2 years ago
HELP 30 points and Brainliest.Type the correct answer in the box. Spell all words correctly.
maria [59]

Answer:

engineering

Explanation:

8 0
2 years ago
Each row of the scoring guide one is worth one point, so response 2d is worth up to 2 points total. Should the student get 0, 1
maksim [4K]

Answer:mmmmm

Explanation:

5 0
2 years ago
Read 2 more answers
Other questions:
  • Becky is preparing a document for her environmental studies project. She wants to check her document for spelling and grammar er
    5·2 answers
  • What are threats to computer system
    6·1 answer
  • A firm that wanted to enable its employees to use and share data without allowing outsiders to gain access could do so by establ
    14·1 answer
  • A hidden backlog contains the projects that the IT department is not aware of because of low feasibility.
    13·1 answer
  • An attacker has been successfully modifying the purchase price of items purchased on the company's web site. The security admini
    8·1 answer
  • PC’s & More has shifted to sales and service of laptops and PCs, where it has the potential to triple the number of its cust
    14·1 answer
  • There is a file "IT4983" in my home (personal) directory. I don’t know my current working directory. How can I find out the file
    11·1 answer
  • Which of the following methods could be considered a "best practice" in terms of informing respondents how their answers to an o
    7·1 answer
  • Write a static generic method PairUtil.minmax that computes the minimum and maximum elements of an array of type T and returns a
    7·1 answer
  • Question 1:State the values of a, b, c, d and e after the following operations are carried out:
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!