IDNStudy.com, ang komunidad ng pagbabahagi ng kaalaman at mga sagot. Alamin ang mga detalyadong sagot mula sa mga bihasang miyembro ng aming komunidad na sumasaklaw sa iba't ibang paksa para sa lahat ng iyong pangangailangan.

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! :)


Sagot :

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)