异常问题求教
											class Test {
    public static int div()
    throws java.io.IOException {int a,b;
    System.out.print("a=");
    a=System.in.read();
    System.out.println("b=");
    b=System.in.read();
    return a/b;
    }
    public static void main(String args[]) {
        int c=0;
        try{c=div();}
        catch(java.io.IOException exc){}
        System.out.print("c="+c);
    }
}
输入9后
运行结果:
a=9;
b=
c=4;
请问一下,如何实现连续输入两个变量,输入一个后,就无法输入第二个了,请大家帮忙解答一下啊,谢谢!

 
											





