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
How would you write 8^5 as a multiplication expression? A. 8 × 5 B. 8 × 8 × 8 × 8 × 8 C. 5 × 5 × 5 × 5 × 5 × 5 × 5 × 5
Neporo4naja [7]

\huge\underline{\red{A}\blue{n}\pink{s}\purple{w}\orange{e}\green{r} -}

<u>if </u><u>we </u><u>ever </u><u>face </u><u>a </u><u>number </u><u>written </u><u>in </u><u>the </u><u>form </u><u>of </u>\underline{x^{n}}<u>where </u><u>x </u><u>denotes </u><u>the </u><u>base </u><u>and </u><u>n </u><u>denotes </u><u>the </u><u>exponent</u><u> </u><u>or </u><u>power </u><u>,</u><u> </u><u>we </u><u>can </u><u>expand </u><u>it </u><u>in </u><u>the </u><u>following</u><u> </u><u>way </u><u>-</u>

x^{n} = x \times x \times x \times.... x ( upto\: " n " \: times )

therefore ,

8 {}^{5}  = 8 \times 8 \times 8 \times 8 \times 8

option ( B )

hope helpful -,-

4 0
2 years ago
Read 2 more answers
Using identities, find a)(2 + 3) 2 b) (x+2y) (x-2y)​
shutvik [7]
Pop ok you see so the answer here would be frantically elastic
5 0
2 years ago
If g(x)=f(x+1), then g(x) translates the function f(x) 1 unit _[blank]_.
galina1969 [7]

answer: right

reason: because you are talking about the x axis so if you go left that would be a negative and you cant go up and down bc that's the y axis so the only way to go is right

hope this helped

4 0
3 years ago
A=960 rounded to the nearest 10 <br> b=89.0 rounded to 1 DP <br> Find the minimum (to 2 DP) of a÷b
astraxan [27]

Step-by-step explanation:

a÷b=960÷89=10.78651685=10.79 or 17.8

3 0
3 years ago
Read 2 more answers
Will give brainliest!!! Please help and explain!!!​
oee [108]

Answer:

6 * squ 2

Step-by-step explanation:

squ 6 * squ 12 = squ 6*12 = squ 72 = squ 36 * 2 = 6 * squ 2

6 0
3 years ago
Other questions:
  • Suppose coke cans are stacked in a store in the shape of a triangle. Each bottom row has 3 more cans then the row directly on to
    11·2 answers
  • WILL GIVE BRAINIEST!!! Polygon ABCDE is shown on the coordinate grid. What is the perimeter, to the nearest hundredth of a unit,
    6·1 answer
  • How do you do this?<br>Also please explain!:)​
    10·1 answer
  • 3 ( x - 4 ) = 2x = 6
    7·2 answers
  • Kim's puppy gained 3/8 pound each week for 4 weeks altogether how much weight did the puppy gain during the 4 weeks
    15·1 answer
  • ANSWER ASAP!! <br><br><br><br><br><br><br><br><br><br>remember to show work​
    11·1 answer
  • Energy is not created nor destroyed, it is _____ from one type to another. <br> PLS ANSWER
    6·2 answers
  • What is the answer?❤️
    15·1 answer
  • A number his tripled and then decreased by 10
    11·2 answers
  • Someone help I just got new assignments 23,24,25,26,27,28,29, and 30​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!