IV. Unsolved Java Programming:
1. Write a program to find and display the value of the given expressions
x+3÷6-2x+5÷3;
; taking the value of x = 5
Answers
Answered by
1
Answer:
public class Main {
public static void main (String[] args ) {
int x = 5;
int result = x+3/6-2*x+5/3 ;
System.out.println(result) ;
}
}
Output : -4
Similar questions
Hindi,
1 month ago
History,
1 month ago
Math,
3 months ago
Physics,
3 months ago
English,
9 months ago
Social Sciences,
9 months ago
Environmental Sciences,
9 months ago