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
What is the perimeter of the track, in meters?
Serjik [45]

Answer:

i think the answer is  (12*3.14 = 37.68cm is the circumference and 6^2*3.14 = 113.04cm2 is the area.)

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Help please, due soon need it
Grace [21]

can you get a clearer picture pls

the bottom is to blurry

7 0
3 years ago
Please help!!
Inessa05 [86]
Let the width = w.
The length is 6 times the width, so the length is 6w.
The perimeter is 70.
P = 2L + 2W

70 = 2(6w) + 2(w)

70 = 12w + 4w

70 = 14w

5 = w

The width is 5.
The length is 6 times the width, so the length is 6 * 5 = 30

Area of rectangle = LW

A = 5 * 30 = 150
8 0
3 years ago
A cab driver charges a fixed rate of $3 plus an additional $1.50 for each mile driven. When representing this situation with a f
Andreas93 [3]
The independent variable would be the fixed rate of $3 because the amount for each mile driven changes based on how far they drive
3 0
3 years ago
What is (f+g)(x)? f(x)=x^2-36 g(x)=x^3+2x^2-10
docker41 [41]

Answer:

x³ + 3x² - 46

Step-by-step explanation:

note that (f + g)(x) = f(x) + g(x)

f(x) + g(x)

= x² - 36 + x³ + 2x² - 10 ← collect like terms

= x³ + 3x² - 46

6 0
3 years ago
Other questions:
  • What is the value for x in the form of p <br> does 4(px+1)=64
    8·1 answer
  • What’s (19x+3x)-(56-9x)=Y?
    5·2 answers
  • Please Help me!!! <br><br><br> I know the answer but I don’t understand how to get that answer
    11·1 answer
  • How are prisms and pyramids alike and how are they different?
    8·2 answers
  • Solve these two equations
    12·1 answer
  • What is the eighth term in the following sequence?
    10·2 answers
  • Helppppp pleaseeeeee
    15·1 answer
  • 2<br> X - 4<br> =2<br> -11<br> What is the answer
    5·2 answers
  • Please help!!
    11·1 answer
  • QUESTION ON PIC THANK YOU FOR ANSWERING
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!