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