//
// example of use of methods from Input class.
//
// observe notation "Input.methodname" to reference static methods.
//

public class TestInput {

        // prompts for and reads a variety of primitive types from
        // standard input

        public static void main(String[] args) {
                System.out.println("Enter two integers");
                int i = Input.readInt(); 
                long j= Input.readLong();
                System.out.println("You entered " + i + " and " + j);
                System.out.println("Enter a boolean");
                boolean b = Input.readBoolean();
                System.out.println("You entered " + b);
                System.out.println("Enter two real numbers");
                float f = Input.readFloat(); 
                double d = Input.readDouble();
                System.out.println("You entered " + f + " and " + d);
                System.out.println("Enter a string");
                String str = Input.readString();
                System.out.println("You entered " + str);
        }
}