write a program in java to find the value of the expression: a). a+b/2ab. b) (ab+bc+ca) /( a+b+c) when a=10 b=5 and c=2
Answers
Answered by
1
Answer:
Here's your Java code
Explanation:
class Q1
{
public static void main (String args[])
{
int a = 10;
int b = 5;
int c = 2;
int d = a+b/2*a*b;
System.out.println("a+b/2ab="+d);
}
}
Similar questions