// Calls a method from outside a class
// and calling the method of the class
// converts metres to inches 

import java.io.*;
import SimpleMetre;

publcis class SimpleChange

{

	public static void main(String args[]) throws IOException

	{

	//create a buffer reader object rd to read the InputStreamReader
	BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));

	String s = new String();
	double metre;
	double inches;

	System.out.print("Enter number of metres ");
	System.out.flush();
	s=rd.readLine();

	Double m=Double.valueOf(s) // converts string to float
	metre=m.doubleValue();     //sets metres equals to f
	inches=SimpleMetre.convertMetre(metre);  // uses the convert method to convert metres to inches

	System.out.println("There are " + inches + " inches in " +metre+ " metres");

	}//ends the main

}//ends the class SimpleChange