public class text8 {
public static void main(String[] args) {
// TODO Auto-generated method stub
for(int i = 0;i<32;i++)
{
int c = Integer.parseInt(Integer.toBinaryString(i));
System.out.printf("%05d\n",c);
}
}
//10进制转换2进制
}
java练习-01字串
最新推荐文章于 2023-01-11 09:00:00 发布