Write down the Java expressions equivalent to the statement listed below.
1. assign the value 1.35 to a variable named a
2. add the values of the variables a and b
3. assign to A the remainder when the value of B is divided by 15;
4. increment the value of i by 1;
5. decrement the value of i by 5;
6. divide A by 5 and assign the result to A
7.A and B
8. A is not equal to B
9. A is greater than or equal to B
10. A is equal to 5, or A is greater than B
PLEASE ANSWER ALL OF MY QUESTIONS. THANK YOU! :)

1

Answers

2014-09-07T22:12:50+08:00
1) float a = 1.35;

2) int sum = a + b;

3) a = b%15;

4) i++;

5)  i = i-5;

6) a = a/5;

7) (A && B)

8) (A!=B)

9)  (A>=B)

10) (A == 5 || A>B)


0