Computer Science, asked by KKSbwbs, 6 months ago

Write the Java statements for the following Mathematical statements [2]

i) a2 + b2 + 2c
ii) abc + ab ÷ c3

Answers

Answered by sbsbsbsbsb
4

Answer:

I)sum =(a*a)+(b*b)+ 2*c;

Explanation:

ii) sum =(a*b*c) +((a*b)/(c*c*c));

Answered by PravasNayak
0

i)double a = Math.pow(a,2)+Math.pow(b,2)+Math.pow(c,2);

ii)double a = abc + ab / Math.pow(c,3);

Similar questions