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]
3 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]3 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
Can someone help me with this? please<br><br>alguien me puede ayudar con esto? porfavorr
soldi70 [24.7K]

See attachment for the number line that compares the numbers 5.3, 5 1/5 and 5

<h3>How to plot the numbers on the number line?</h3>

The numbers are given as:

5.3, 5 1/5 and 5

We start by representing the numbers as decimals (i.e. real numbers).

So, we have:

5.3, 5.2 and 5

Reorder the numbers in ascending number (i.e. from least to greatest)

So, we have

5, 5.2 and 5.3

Next, we plot the numbers on a number line using a scale of 0.1

This can be visualized as

5        5.2      5.3

See attachment for the number line that compares the numbers 5.3, 5 1/5 and 5

Read more about number line at

brainly.com/question/24644930

#SPJ1

8 0
2 years ago
In destroit at 10 am,the temperature was -6 degrees.By 2 pm,it had increased 20 degrees.what was the temperature at 11 am? (hint
MAVERICK [17]

Answer:

A

Step-by-step explanation:

6 0
3 years ago
The reference angle for an angle whose measure is -440 is _____. 60 80 100
Llana [10]
80 is correct. 
-440+360 = 80
8 0
3 years ago
Read 2 more answers
You purchase a $220 Arline ticket. You have a discount code to receive 10% off. There is a 10.5% service charge added to the tot
antoniya [11.8K]
When you see % next to a number, you multiply it by .01.
10 becomes .1
10.5 becomes .105

220*.1=22, so this is the 10% off
220*.105=23.1, so this is the 10.5% service charge.

220-22+23.1=$221.10 for the ticket.
7 0
3 years ago
Which values of x and y would make the following expression represent a real number? (4 + 5i)(x + yi)
Verizon [17]
4 (x + yi) +5 (x + yi)
(4x + 4yi) + (5x + 5yi)
4x _5x +4yi _5yi
_1x + _1yi
therefore x= _1
7 0
3 years ago
Read 2 more answers
Other questions:
  • 3. Which brand of maple syrup is a better buy
    11·1 answer
  • What is the solution of the equation. w - 8 = 5
    8·1 answer
  • PLEASE HELP ASAPpppp
    10·2 answers
  • Pablo's Gourmet Pretzel Shop specializes in selling the very finest chocolate covered pretzels. Rico bought 4 white chocolate pr
    14·1 answer
  • A spinner is divided into 5 sections 2 blue 1 red 1 yellow and I green. How many times would you expect the spinner to land on y
    6·1 answer
  • When a whole number is multiplied by a decimal smaller than one, what can you conclude about the result?
    6·2 answers
  • If Carrie is 55% of the way achieving her goal and she has already run 11 miles, how many miles is she trying to run by the end
    15·1 answer
  • If the ordered pair (a, b) satisfies the inequality. y &gt; x-4, three of these statements are
    13·1 answer
  • Raul bought 45 shares of stock for $36 a share. He sold one year later for $38 a share. What was his percentage return?​
    14·1 answer
  • Olive rolls a 5 on one number cube and then Lolly rolls a 1 on another number cube. Is this a set of independent or dependent ev
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!