This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 2. What is the printed as a result of the following Java statements? int i = 2, j = 3, k = 4; System.out.println (i + j / k); System.out.println ((i + j) / k); System.out.println (i + j % k); System.out.println ((i + j) % k); 3. Read the rest of the Lab 2 instructions so that you will know what you need to do during the lab session....
View Full Document
This note was uploaded on 10/28/2010 for the course ECON 33 taught by Professor Def during the Spring '10 term at University of Cape Coast,Ghana.
- Spring '10