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
4
Step-by-step explanation:
I hope help this answer ok
Attachments:
Answered by
0
Answer:
public class KboatExpression
{
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);
}
}
OUTPUT
BlueJ output of Write a program to find and display the value of the given expression: (x + 3) / 6 - (2x + 5) / 3; taking the value of x = 5
Similar questions
English,
18 days ago
Math,
18 days ago
Social Sciences,
18 days ago
India Languages,
1 month ago
Social Sciences,
9 months ago
English,
9 months ago