Computer Science, asked by williamssiren686, 9 months ago

Evaluate the following operation in java with procedures
int a, b =2, c = 4;
a = b*3/4+c/4+8-b+5/8
Please answer fast

Answers

Answered by Anonymous
0

public class Exercise4 {

 

public static void main(String[] args) {

 System.out.println(-5 + 8 * 6);

 System.out.println((55+9) % 9);

 System.out.println(20 + -3*5 / 8);

 System.out.println(5 + 15 / 3 * 2 - 8 % 3);

}

 

}

Answered by Anonymous
0

class AnyName {

public static void main(String[] args) {

int a,b=2,c=4;

a=b*(3/4)+(c/4)+8-b+(5/8);

System.out.println("Answer:- ",a);

}

}

Similar questions