Computer Science, asked by kumarakshit, 2 months ago

write a java expression for the following a y equals to 5 (lb+bh+lh)+a^2+b^2​

Answers

Answered by anindyaadhikari13
3

Question:-

➡ Write a Java expression for the following.

Answer:-

Given expression,

ay = 5(lb + bh + lh) + a² + b²

The Java expression will be,

ay=5*(l*b+b*h+l*h)+a*a+b*b;

Similar questions