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
alexandr1967 [171]
3 years ago
15

Write a statement that declares and initializes two integer variables. Call the first one age and initialize it to 15, and call

the second one weight and initialize it to 90.
Mathematics
1 answer:
Gnom [1K]3 years ago
7 0

Answer:

First is to define the language in which to make the statement, I chose the language C, because it is the most common. To initialize the variable, the first thing is to define the type, in this case it is an integer type.

In language C, that is determined by int, then the name of the variable, in this case it would be age. We close with; To finish the order. Then we give the courage that asks us to initiate.

In the end, it would look like this:

int age;

age = 15;

int weight;

weight = 90;

You might be interested in
The population of a small town is 39,668 and has been continuously declining at a 1.5% a year what will the population be in 13
anyanavicka [17]

Answer:  31, 932.74

Step-by-step explanation:

The population of the small town              =  39,668

Yearly rate of decline                                 = 1.5%

Therefore, to calculate 1.5% of 39,668       = 1.5  x 39,668

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

                                                                                  100

                                                                      =   595.02

So, the population is declining by 595.02 on yearly basis.

To ascertain what will the population would have declined to in the next 13 years,

We multiply ,                                                = 595.02 x 13

                                                                      =7,735.26

Now population in 13 years                         = 39,668 - 7,735.26

                                                                      = 31,932.74

                 

                                                                                 

6 0
4 years ago
Find the sum of deviation of all observations of the data 5, 8, 10, 15, 22 from their mean.​
ivann1987 [24]

Answer:

the sum of deviation of all observations of the data 5, 8, 10, 15, 22 from their mean. =26

Step-by-step explanation:

Mean=sum of observation/ No. of observation

={5+8+ 10+ 15 + 22}/5

=60/5=12

Sum of deviations

= |5- 12| + |8 – 12| + |10- 12| + |15- 12| + |22-12|

= 7+4+2+ 3+ 10

= 26

3 0
3 years ago
Suppose you have a ​$8-off coupon at a fabric store. You buy fabric that costs ​$7.50 per yard. Write an equation that models th
zhannawk [14.2K]

Answer:

= 7.5x-8

Step-by-step explanation:

Total cost = cost per yard * yard of fabric - coupon

total cost = 7.5 x - 8

y = 7.5x-8

8 0
3 years ago
Read 2 more answers
2/5 + r = 1 and 4/5 <br> What is r?
MariettaO [177]
Answer- r= 7\5 hope this helps!!
7 0
3 years ago
Two number cubes are rolled. What is the probability that the sum of the numbers rolled is either 3 or 9?
MariettaO [177]

|\Omega|=6^2=36\\ |A|=\underbrace{2}_{\text{the sum is 3}}+\underbrace{4}_{\text{the sum is 9}}=6\\\\ P(A)=\dfrac{6}{36}=\dfrac{1}{6}\approx17\%

7 0
4 years ago
Other questions:
  • Consider an employee's whose earnings, in dollars, are according to the continuous stream f(t)=5,000e0.1t for t&gt;0, where t is
    14·1 answer
  • If an increase in one variable causes a decrease in another​ variable, there is A. a negative relationship. B. a dependent relat
    11·1 answer
  • Jovita made 300 greeting cards. She sold 40% of the cards, gave 85% of the remaining cards to her friends, and kept the rest of
    12·1 answer
  • True or False: The amount of time it takes to complete an examination has a left skewed distribution with a mean of 65 minutes a
    14·1 answer
  • Tara watched a movie at 3:19. The movie she watched was 1:20 long. When was her movie over?
    14·2 answers
  • 5 x 2^x= 40 What is the value of x?
    7·1 answer
  • There are 29 students in Mrs. Dixon's science class. On the last test, only 1 student earned the median score of 84.
    12·1 answer
  • Determinar la longitud de la hipotenusa del siguiente triángulo si se conocen las medidas que se indican de los demás triángulos
    12·1 answer
  • True or False<br> 5/2 + (- 2.5) is negative.
    9·2 answers
  • Find the area of the given rhombus​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!