Computer Science, asked by amansarkar112, 16 days ago

If a is an integer variable, a=5/2; will return a value (a) 2.5 (b) 3 (c) 2 (d) 0.​

Answers

Answered by Rishi1768
1

Answer:

Ans 2

Explanation:

A = 5/2 = 2.5

So outcome will be A = 2

Answered by payalchatterje
0

Answer:

Required value of a is 2.5

So, option a is the correct option.

Explanation:

Given, a is an integer variable, a=5/2.

We want to find value of a.

a =  \frac{5}{2}

We are dividing 5 by 2,

a = 2.5

They, return value of a is 2.5.

This is a problem of Algebra.

Some important Algebra's formulas:

{(x + y)}^{2}  =  {x}^{2}  + 2xy +  {y}^{2} \\  {(x  -  y)}^{2}  =  {x}^{2}   -  2xy +  {y}^{2} \\  {(x  + y)}^{3}  =  {x}^{3}  + 3 {x}^{2} y + 3x {y}^{2}  +  {y}^{3}  \\   {(x   -  y)}^{3}  =  {x}^{3}   -  3 {x}^{2} y + 3x {y}^{2}   -  {y}^{3} \\  {x}^{3}  +  {y}^{3}  =  {(x  +  y)}^{3}  - 3xy(x + y) \\ {x}^{3}   -  {y}^{3}  =  {(x   -   y)}^{3}   +  3xy(x  -  y) \\  {x}^{2}  -  {y}^{2}  = (x + y)(x - y) \\    {x}^{2}  +  {y}^{2}  =  {(x - y)}^{2}   + 2xy \\ {x}^{2}   -  {y}^{2}  =  {(x   + y)}^{2}  - 2xy \\  {x}^{3}  -  {y}^{3}  = (x - y)( {x}^{2}  + xy +  {y}^{2} ) \\ {x}^{3}   +   {y}^{3}  = (x + y)( {x}^{2}   -  xy +  {y}^{2} )

Two more important Algebra problem:

1) https://brainly.in/question/13024124

2) https://brainly.in/question/1169549

#SPJ3

Similar questions