public class InputStringTwo
{
public static void main(String args[]) throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i,max=0;
int a[]=new int[5];
System.out.println("input five datas:");
for(i=0;i<=a.length-1;i++)
{
a[i]= Integer.parseInt(br.readLine());
}
for(i=0;i<=a.length-1;i++)
System.out.println(a[i]);
}
}
这是我写的代码,可是结果不对啊!哪位大侠帮忙改改?