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
dmitriy555 [2]
2 years ago
8

Declare a constant MONTHS_IN_DECADE, whose value is the value of the constant MONTHS_IN_YEAR (already declared) multiplied by 10

.
Computers and Technology
1 answer:
MariettaO [177]2 years ago
3 0

Answer:

The solution code is written in Python:

  1. MONTHS_IN_YEAR = 12
  2. MONTHS_IN_DECADE = MONTHS_IN_YEAR * 10

Explanation:

Constant variable is a type of variable that holds value which will not be changed. This means the value will only be assigned to the constant variable once. As a convention, constant variable is named with all uppercase letters to differentiate it from other variables.

By presuming there is a constant variable, MONTHS_IN_YEAR which has been declared and assigned with 12 (Line 1).

Next, we create another constant variable, MONTHS_IN_DECADE, and we can calculate the decade by using the value of constant variable MONTHS_IN_YEAR multiplied with 10 and assign the result to  MONTHS_IN_DECADE (Line 2).

You might be interested in
Write an algorithm to get the value of length and breadth of a rectangle from the user and find its area. inn qbasic
Shalnov [3]

Answer:

IN PYTHON ::

x=int(input('Enter length:'))

y=int(input('Enter width:'))

print('Area of the rectangle is', x*y,'squared units')

I hope it will be useful.

5 0
3 years ago
Coordination in a global information system requires a _____ architecture for data, standardization within departments.
Phantasy [73]

Coordination in a global information system requires a decentralized architecture for data, standardization within departments

6 0
2 years ago
Why must programs written in a high-level language be translated into machine language?
eimsori [14]
The only thing that a computer actually understands is machine language. English-like constructs are gibberish to a computer, so they need to be translated by a compiler to machine language to run natively.
4 0
2 years ago
Analysts use _____ to show the objects that participate in a use case and the messages that pass between the objects over time f
ch4aika [34]

Answer:Sequence diagrams

Explanation: Sequence diagram is the diagram that displays about the connection of the objects in a sequential manner. The sequence depicted through the vertical lines in parallel form was about the object function and the horizontal line showed interaction between them for the exchange of the information.

Other options are incorrect because structural models have the infrastructure in particular format, communication diagrams depicts the exchange of information through communication and class diagram is the diagram that displays the system's class.Thus the correct option is sequence diagram.

5 0
3 years ago
Read the code snippet below and determine which markup language it is:
nignag [31]

Answer:

Sound Card

Explanation:

4 0
2 years ago
Other questions:
  • The first widely adopted windows product, ____, featured a standardized look and feel, similar to the one made popular by apple'
    11·1 answer
  • If you're doing a relational comparison, which filter would be available?
    15·1 answer
  • An acronym is a word formed by taking the first letters of the words in a phrase and making a word from them. For example, AGH i
    10·1 answer
  • Compound conditions require a computer to sense whether multiple conditions are true or false.
    9·1 answer
  • If a person is proactive, they do NOT have to be defensive.<br> True<br> False
    9·2 answers
  • when working with smart which tab would provide the ability to change the shape or size of the smart art shapes
    15·2 answers
  • A town government is designing a new bus system. The planners are deciding where to put the different bus stops. They want to pi
    6·2 answers
  • It's best to use assertive speech when you<br> I want to show respect. *<br> True<br> False
    8·2 answers
  • The purpose of __________________ is to isolate the behavior of a given component of software. It is an excellent tool for softw
    13·1 answer
  • Write a program to input elements of 4*3matrix and prints its elements properly using array ​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!