package TwoNumbers; import myIO.*; // for input/output – contains class IO public class TwoNumbersApp { public static void main(String[] args) { // Instantiate an object TwoNumbers tn = new TwoNumbers(); // Do something with object tn int m = IO.getInt("Enter a number"); int n = IO.getInt("Enter a second number"); tn.setNumbers(m, n); IO.appendResult(tn.toString()); // Display the sum and product of the 2 numbers // . . . IO.appendResult("sum = " + tn.findSum()); IO.appendResult("product = " + tn.findProd()); IO.display(); System.exit(0); } }