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
Anybody know the answer?
Ilya [14]

Answer:

C.

Step-by-step explanation:

The eqn. of a circle with centre (h,k)and radius ris given by,

6 0
3 years ago
Chloe received 86% on her first test, a 47/50 in her next test, and a 0.89 on her third test. List her percentages in order from
Mumz [18]

Answer:

  84%, 86%, 89%

Step-by-step explanation:

The three numbers, expressed as percentages, are ...

  • 86%
  • (47/50)×100% = 84%
  • 0.89×100% = 89%

Smallest to largest, they are 84%, 86%, and 89%. In the original form, they are 47/50, 86%, and 0.89.

7 0
3 years ago
Evaluate 8.1p + 7.9 when p = 6 and r = 7
matrenka [14]

Answer:

56.5

Step-by-step explanation:

8 0
3 years ago
Malik collects rare stamps and has a total of 212 stamps. He has 34 more domestic stamps than foreign stamps. Let x represent th
Effectus [21]

Answer:

y = 89 x = 123

Step-by-step explanation:

since they're both in standard form, its easier to do the process of elimination

x - y = 34

-x -y -212

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

-2y = -178

y = 89

now plug in y to any one of those two equations

x - y = 34

x - 89 = 34

x = 123

<em>to check:</em>

<em>x</em><em> </em><em>+</em><em> </em><em>y</em><em> </em><em>=</em><em> </em><em>2</em><em>1</em><em>2</em>

<em>1</em><em>2</em><em>3</em><em> </em><em>+</em><em> </em><em>8</em><em>9</em><em> </em><em>=</em><em> </em><em>2</em><em>1</em><em>2</em>

<em>2</em><em>1</em><em>2</em><em> </em><em>=</em><em> </em><em>2</em><em>1</em><em>2</em>

6 0
3 years ago
PLEASE HURRY <br> Which equation of a line passes through the points (3,<br> -1) and (6, 1)?
LenKa [72]

To write the equation of line in y = mx + b form, we need

to identify the slope of the line and the y-intercept.

I would start by setting up a coordinate

system and plotting both points.

I have shown this below.

Let's start with our first point, (3, -1) which we call point A.

Now our second point, (6, 1) which we call point B.

To get from point A to point B, we rise 2 units and run 3 units.

So we know that our slope is 2/3.

However, we need the y-intercept.

Remember, this is the point where the line crosses the y-axis.

Since point B is farther from y-axis,

we need to go in the other direction.

So starting at point A, we go down 2 and to the left 3.

Remember, -2/-3 is 2/3 since a negative/negative = positive.

Now plot point C.

Notice that point C is on the y-axis.

It has the coordinates (0,-3).

Now we know our slope and y-intercept.

So our equation reads 2/3x - 3.

The slope is positive since the line is going up.

7 0
3 years ago
Other questions:
  • If the product of two numbers is 21 and the sum is 10 what are the two numbers
    12·2 answers
  • Ben is 12 years older than Ishaan. Ben and Ishaan first met two years ago. Three years ago, Ben was 4 times as old as Ishaan.
    14·2 answers
  • What situation could this diagram represent?
    14·2 answers
  • Which graph shows the solution to the system of linear inequalities? x + 3y &gt; 6 y ≥ 2x + 4 PLEASE HELP
    9·2 answers
  • Gabe Amodeo, a nuclear physicist, needs 60 liters of a 60% acid solution. He currently has a 40% solution and a 70% solution. Ho
    8·1 answer
  • Select the graph that represents the given set. (Click on the graph until the correct one is showing.) D = {(1, 1), (1, 2), (1,
    6·2 answers
  • Rewrite using a single exponet 7^3·7^3
    14·1 answer
  • How many roots of f(x) are rational numbers?
    9·1 answer
  • Jordan earns $243 a week. A week The money is shown at the right. Answer the questions about how much he will earn over time.
    10·1 answer
  • Write a two column proof. (answer what you can if possible)
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!