import cs1.Keyboard;

public class SimpleIOTest
{
	String str;
	int num;
	double dec;

	public static void main(String[] args)
	{
				SimpleIOTest test = new SimpleIOTest();
				test.Input();
				test.display();
	}

	public void Input()
	{
			System.out.print("Enter string: \t");
			str = Keyboard.readString();
			System.out.print("Enter number with no decimals (integer): \t");
		    num = Keyboard.readInt();
			System.out.print("Enter number with decimals: \t");
			dec = Keyboard.readDouble();
	}

	public void display()
		{

			SimpleIO call = new SimpleIO(str, num, dec);

			System.out.println("String: " +call.readLine());
			System.out.println("Integer: " +call.readInt();
			System.out.println("Double: " +call.readDouble();

			System.out.println ("\n\n\n\n\n\n\n\n");
	}