Get premium membership and access questions with answers, video lessons as well as revision papers.

State the values that end up in a, b, c, and d, after these calculations are performed using java programming language. Int a, b, c, d; a...

      

State the values that end up in a, b, c, and d, after these calculations are performed using java programming language.
Int a, b, c, d;
a = 7/ 3;
b = a* 4;
c = ( a + 1) /2;
d = c / 3;

  

Answers


Davis
The final values of a, b, c, d, are 2, 8, 1, 0.
Githiari answered the question on January 26, 2018 at 12:27


Next: My salary is sh.20,000, and I agree to give you half using the following calculation in java: Int half = 20,000 * (1/2); How much do you...
Previous: Complete the following java program, adding assignments to split totalseconds into two variables : minutes and seconds Int totalSeconds = 307;

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions