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
Can someone please help. Thanks.
arsen [322]
A Kuna Matata lol you get the joke?
3 0
3 years ago
Find the sum of 3x + 2,5x- 7 and - 3 + 2x ​
lions [1.4K]

Step-by-step explanation:

the answer is 10x - 8.

3x+2

5x-7

2x-3

--------

10x-8

----------

-------- hope this helps you and please try to mark me as BRAINLIST.

6 0
3 years ago
PLEASE ANSWERR ILL OFFER BRAINILIEST
Illusion [34]

Answer:

its A

Step-by-step explanation:

if 20 is my 100 percent and I look for 70 percent it is the rule of 3. 20 x 70 between 100 = 34 Hope this helps

3 0
3 years ago
PLSSS HELP IF YOU TURLY KNOW THISS
lbvjy [14]

Answer:

6/5 or A. 1 1/5

Step-by-step explanation:

Hey there!

In order to simplify this, you need to add the numerators but not the denominators since they are the same

4+2=6

So this shows that the answer is 6/5 or 1 1/5

3 0
2 years ago
Read 2 more answers
If -7x+3=6x then 12x=
anzhelika [568]
The answer is 36/13
5 0
3 years ago
Read 2 more answers
Other questions:
  • Piecewise function help
    6·1 answer
  • Please help! Don't understand it!
    10·1 answer
  • A value 5 times a smaller number is 1 less than a larger number. their difference is 73
    5·1 answer
  • Distance. For a given speed, the distance traveled varies directly with the time. Kate's school is 5 miles away from her home an
    5·1 answer
  • Shirley wants to buy a skateboard for $64. She has $98 in her account. She spent $10.85 to buy stationary. She also wants to buy
    10·2 answers
  • The function f(x)=4(2)^x represents the number of people who share a cat video
    13·1 answer
  • Please help (;´༎ຶٹ༎ຶ`)
    11·1 answer
  • ANSWER ROGHT AWAY!!!!!!!​
    15·1 answer
  • An isosceles triangle has two sides of equal length. The third side is 5 less than twice the length of one of the other sides. I
    5·1 answer
  • Part 1 to this page, <br> Can someone pls give the answers for 2 and 3 I don’t understand them!
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!