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 y = sin-1(7/12)
quester [9]

I'm not sure how to do this manually but if you plug in 7/12 in a scientific calculator and then press sin -1 you'll get approximately 35.685

4 0
3 years ago
Read 2 more answers
Solve F=D+Drt for t.....
Anuta_ua [19.1K]

Answer:

t = \frac{-D+F}{Dr}

Step-by-step explanation:

Step 1: Flip the equation.

  • Drt + D = F

Step 2: Subtract D from both sides.

  • Drt + D - D = F - D
  • Drt = -D + F

Step 3: Divide both sides by Dr.

  • \frac{Drt}{Dr} = \frac{-D+F}{Dr}
  • t = \frac{-D+F}{Dr}

6 0
2 years ago
Callie is installing a rectangular walkway up to her house. The width of the walkway is 5 feet and the length is 27 feet. She ne
Sergio [31]

Answer:

I hate my life I hate my life I hate my life

4 0
2 years ago
Find the f(0) and f(1)
Kruka [31]

Answer:

C

Step-by-step explanation:

to evaluate substitute x = 0 and x = 1 into f(x)

note that a^{0} = 1

f(0) = 45 × (1/3)^{0} = 45 × 1 = 45

f(1) = 45 × (1/3)^{1} = 45 × \frac{1}{3} = 15


5 0
3 years ago
Read 2 more answers
How many years will it take for an investment of $1000 to $2500 if it earns 6% compounded monthly?
Alex787 [66]
P+prt
1000+1000(.06)x=2500
X=25
25 years
6 0
4 years ago
Other questions:
  • Solve the equation.
    10·2 answers
  • A company has an annual picnic for its 1,600 employees and gives a pen with the company logo to each employee. The picnic commit
    11·1 answer
  • Prove that the diagonals of kite UVWX are perpendicular.
    15·2 answers
  • What is equivalent to 8/9 the denominator is 72
    12·1 answer
  • Pleas answer my latest 2 questioms thx
    6·1 answer
  • Write each fraction as a decimal<br> 3 15/44
    5·1 answer
  • Simplify like terms.<br> 2d – 3f – 6d+5f
    10·2 answers
  • What is 1 1/5 X 3 3/4 ?
    12·1 answer
  • Complete the square<br> to find the vertex<br> of this parabola.<br><br> y^2+4x - 2y+21=0
    6·2 answers
  • Hey can anyone help me ?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!