public static void xianShi()
{
Scanner s = new Scanner(System.in);
System.out.println("十进制数");
int x = s.nextInt();
String qq=Integer.toBinaryString(x);
System.out.println(qq);
toBin(x);
}
public static void main(String[] args)
{
xianShi();
}
}
作者: 大西洋 时间: 2015-5-7 14:00
{:3_46:} Professor Moriarty !