import java.io.*; class TwoNums1 { /* A program that prompts for two numbers then prints their sum and product Uses MyReader to read the numbers */ public static void main (String[] args) throws IOException { int m,n; System.out.print("Enter first number: "); m=MyReader.readInt(); System.out.print("Enter second number: "); n=MyReader.readInt(); System.out.println("Adding the two gives: "+(m+n)); System.out.println("Multiplying the two gives: "+m*n); } }