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
Gwar [14]
4 years ago
12

Assume a program has the following variable defenition: int a, b =2; float c = 4.2; and the following statement: a = b * c; What

will be stored in a? A. 8.4 B. 8 C. 0 D. None of the above
Mathematics
1 answer:
Vladimir [108]4 years ago
5 0

Answer:

The correct option is B.

Step-by-step explanation:

In a program the variables are defined as

int a, b =2;

float c = 4.2;

The given statement is

a = b * c

a = 2 * 4.2

a = 8.4

It is given that variable a is an integer. So, only integer value can be stored in a.

a ≈ 8

It means 8 will be stored in a. Therefore the correct option is B.

You might be interested in
HELP ME WITH THIS . IF correct will get an brainliest<br> HURRRY
tekilochka [14]

X = 1

Explanation :

when you multiply negative 2 by negative six you get twelve. when you multiply positive one by negative six you get negative six.

7 0
2 years ago
Read 2 more answers
Evaluate |-a^2|, given a = 5, b = -3, and c = -2.
geniusboy [140]
The sunset is 25. how this helps!
7 0
3 years ago
Read 2 more answers
Oliver made 8 pints of jam last year. How many pints does he make this year?
Gekata [30.6K]

Answer:

23 pints

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Evaluate cos 300' without using a calculator,<br> 2<br> O A. 1 /<br> O B. 1<br> о<br> c<br> va
storchak [24]

Answer:

Cos \ 300 = \dfrac{1}{2}

Step-by-step explanation:

  \sf \boxed{Cos \ (2\pi - \theta) = Cos \ \theta}

Cos 300 = Cos ( 360 - 60)

               = Cos 60

               \sf = \dfrac{1}{2}

7 0
2 years ago
Someone please help me! ‘The value of X is...’
8_murik_8 [283]
This is called a double equation. If you solve for X, you would get 'any whole number.'
7 0
3 years ago
Other questions:
  • 6x^2+42x+72=36 solve
    12·1 answer
  • Given the following absolute value function sketch the graph of the function and find the domain and range.
    6·2 answers
  • you have $18 to buy peppers. peppers cost $1.50 each. write and solve an inequality that represents the number of peppers you ca
    7·1 answer
  • What is the value of (10 – 6)2 + 6 • 2 – (3 + 2)2? A. 10 B. 3 C. –1 D. –5
    5·2 answers
  • What is 90* 1000 then - 8 * 40
    13·2 answers
  • Select all that have a value of 0.<br> -cos pi/2<br> -cos 0<br> -sin 0<br> -sin 3pi/2<br> -tan pi
    8·2 answers
  • There are 18 stores in California and 12 stores in Nevada the shops opens 10 new stores some are in California, and some are in
    12·1 answer
  • Please help me please
    12·1 answer
  • A dental filling is nine carats what percent of the filling is gold?
    14·1 answer
  • Ill give brainilest, question is in the picture.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!