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
elena55 [62]
3 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]3 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
Lol who look at this so funny
seraphim [82]

Answer:

wow my humor is bad then.

6 0
3 years ago
What software sent bill gates on his way to becoming one of the richest men in the world?
just olya [345]
The software that launched Bill Gates to riches is Microsoft. The software company became available for public purchase of shares in 1986. The company was however launched in 1975 by himself and the co-founder Paul Allen. The company was instrumental in the launch of the personal computer revolution. 
5 0
4 years ago
The program below is used to calcualte the sum of 3 numbers. There is an error in this program. Which line contains the error? n
djyliett [7]

Answer:

  1. num1=10
  2. num2 =20
  3. num3="30"
  4. sum = num1+num2+num3
  5. print (num1)
  6. print (num2)
  7. print (num3)
  8. print (sum)

The error is at line 3. The variable num3 has been assigned a string value with use of the quotes.

To fix the error, take away the quotes from the number 30, since the arithemetic operation cannot be carried out on the string in python program language.

Explanation:

5 0
3 years ago
You are unpacking and setting up workstations
Anestetic [448]

Answer:

For setting up workstations in classrooms, one end of cables connected into the built in NIC and other end will be connected to a drop.

Explanation:

A drop will be used for connectivity in this case, which will work as connection point in a network. Drops are just like outlets in wall having  Ethernet Jacks where a network device or system can be plugged into it.

8 0
3 years ago
(in python)Write a program that takes a date as input and outputs the date's season. The input is a string to represent the mont
alexgriva [62]

Answer:

free points boi

Explanation:

3 0
3 years ago
Other questions:
  • When you record a macro, you can assign it to run from a button or from the _____.
    9·2 answers
  • Nadia's productivity at work is being hurt due to the large quantity of unwanted e-mail she receives. What steps can she take to
    8·1 answer
  • Ground beef, pork, or other meats should be cooked to what minimum internal temperature?​
    8·2 answers
  • Which of the following statements isNOT true about abstract data types (ADTs)?A list is anexample of an ADT.ADTs hide theimpleme
    7·1 answer
  • Business conducted using the internet
    9·1 answer
  • If you have a database of books in the library and you would like to find all books published after January 1, 2008, what criter
    7·1 answer
  • Select the best answer that completes the following sentences. Wireless technology changed the workday to
    6·2 answers
  • 2. How is accessing the Internet through a home network and public Wi-Fi similar?​
    15·1 answer
  • How do I convince my mom to buy a gaming computer for me? She says we already have 3 other computers/laptops in the house to use
    8·1 answer
  • Plz help me to learn python and thx
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!