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
I don't know how to do this
Phantasy [73]
I completely agree with the above statement
3 0
3 years ago
I need help please and thank you.
kogti [31]

Step-by-step explanation:

\frac{2x}{5}  +  \frac{1}{3}  =  \frac{7x - 2}{15}

\frac{6x + 5}{15}  =  \frac{7x - 2}{15}

6x + 5 = 7x - 2

6x - 7x =  - 2 - 5

- x =  - 7

x = 7

option (4)

6 0
3 years ago
What is the missing part of the question 1/10 x = 0.93
Dafna11 [192]
X = 0.093

Hope this helps!
Vote me brainliest!
4 0
3 years ago
Read 2 more answers
Xy = 6<br> | 2x – y = 1<br> Solve each system by substitution
AnnZ [28]

Answer:  {x,y} = {2,-4}  

  [1]    x - y = 6

  [2]    2x + y = 0

Step-by-step explanation:

7 0
3 years ago
PLEASE HELP ASAP!!! CORRECT ANSWERS ONLY PLEASE!!!
mixas84 [53]

    5x³ + 8x² - 7x - 6

1)

x + 2 is a factor because when using synthetic division, the remainder is zero.

-2  |  5    8    -7    -6

    <u>|  ↓   -10    4     6 </u>

       5   -2    -3     0  ← remainder is zero

2)

x + 2 is not a factor because when using synthetic division, the remainder is not zero.

-1  |  5    8    -7    -6

    <u>|  ↓  -5    -3     10 </u>

       5   3    -10    4  ← remainder is not zero


3 0
3 years ago
Other questions:
  • Formulate a system of equations for the situation below and solve. Michael Perez deposited a total of $2000 with two savings ins
    13·2 answers
  • The giant swallowtail is the largest butterfly in the United States.Its wingspan can be as large as 16 centimeters. What is the
    11·2 answers
  • How do you figure out what is 1/4 of 10.
    9·2 answers
  • Solve for x:<br> (x - 1)(3x + 1) = 0
    10·1 answer
  • Alexis received an 85, 89, and 92 on three tests. How many points does she need to score on her next test in order to have an av
    15·1 answer
  • Find the simple interest paid to the nearest cent for each principal, interest
    13·1 answer
  • Lorenzo reads at a rate of 45 words per minute. If he reads at a constant rate, how many words can he read in 6 minutes?
    5·2 answers
  • 5. At the end of the performance, the band marches off the field to the right, moving the entire sine curve. Asa grabs his camer
    11·1 answer
  • Find m&lt;1 and m&lt;2<br> Help
    5·1 answer
  • 100 POINTS. ANSWERER GETS BRAINLIEST
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!