//This class creates an object of type SimpleProgram and then
//calls its methods to run the program.

import java.io.*;

public class TestSimple
{
	public static void main( String args[]) throws IOException{

		//Instantiating a new object fo the SimpleProgram class.
		SimpleProgram simple = new SimpleProgram();
		String inputValue;
		System.out.print("Enter the string to be modified: ");

		//Calling the getInput() method
		inputValue = simple.getInput();

		//Calling the modifyString() method and storing the result in val.
		outputValue = modifyString(inputValue);

		System.out.println("The modified string is "  + outputValue);
	}

}
