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
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
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
Business Studies,
4 months ago
Math,
4 months ago
Physics,
4 months ago
Hindi,
9 months ago
Physics,
1 year ago