/** * Name: * Date: * Exercise: 1.5 * Purpose: To demonstrate use of arithmetical operators and * a common problem encountered with integer division. */ public class Division { public static void main(String[] args) { // declare and initialise variables int i = 5, j = 3; // print the numbers and the sum of i and j to screen System.out.println("The values are: i is " + i + ", j is " + j); System.out.println("The sum of these integers is " + (i + j) ); } }