import java.io.*;

class Sample1
{
public static void main(String args[]) throws IOException
{
System.out.println("円周率はいくらですか?");

BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));

String str1 = br.readLine();

float num1 = Integer.parseInt(str1);

System.out.println("円周率の値は" + num1 + "です。");
}
}

↑のソース、どこが間違ってるか教えてください