Computer Science, asked by phrithika1, 3 months ago

write java expression for following abc/(ab+BC+AC)​

Answers

Answered by ayushdasgupta
1

Answer:

Here is your answer:

double x=0.0;

x= (a*b*c)/(A*B + B*C + B*C);

Explanation:

See the question. Since, there are no operators between (abc) which means according to mathematics there is supposed to be the multiplication sign 'x' and in java multiplication sign is replaced by ' * ' (asterisk). Then you have to enclose the expression within parenthesis otherwise it wouldn't depict a java expression. Then the rest applies the same concept, you just have to follow the BODMAS rule.

Similar questions