Computer Science, asked by josepheesadas71, 1 month ago

Write a program to find and display the value of the given expressions: a)(x+3)/6 – (2x+5)/3; taking the value of x=5 b) a2+b2+c2 /abc ; taking the values a=5,b=4,c=3;​

Answers

Answered by ranjanyash31
0

Answer:

public static void main(String args[]) { int x = 5; double value = ((x + 3) / 6.0) - ((2 * x + 5) / 3.0); System.out.println("Result = " + value); } }

Similar questions