Computer Science, asked by iamabhinavanand, 4 months ago

write the java expression :-
Quick​

Attachments:

Answers

Answered by vijayghore
1

Answer:

i) x = ( b * b - 4 * a * c) / (2 *a);

II) y = 2 * (l * b + b * h + h * l)

Answered by anindyaadhikari13
2

Question:-

  • Write the java expression for the following.

Solution:-

Given expression,

 \sf x =  \frac{ {b}^{2} - 4ac}{2a}

The java expression for the following will be,

x=(b*b-4*a*c)/(2*a);

Second expression,

 \sf y = 2(lb + bh + lh)

The java expression will be,

y=2*(l*b+b*h+h*l);

Similar questions