91发表网资格考试

开个麻将馆需要办什么证呢

平山教育

大家一起学习

更新时间: 2026-08-03

public class Change { public static void main(String[] args) { System.out.println(binary(100)); System.out.println(octonary(100)); System.out.println(hexadecimal(1000)); } public static String binary(int a){ byte[] b = new byte[1024]; String s=""; int i=0; while(a>0){ int temp = a%2; b[i] = (byte)temp; i++; a = a/2; } while(--i>=0){ s+=b[i]; } return s; } public static String octonary(int a){ String s = ""; byte [] b = new byte[1024]; int i =0; while(a>0){ int temp = a%8; b[i] =(byte)temp; i++; a /=8; } while(--i>=0){ s += b[i]; } return s; } public static String hexadecimal(int a){ String s =""; byte [] b = new byte[1024]; int i=0; while(a>0){ int temp = a; b[i] = (byte)temp; i++; a /= 16; } String [] str = {"A

温馨提示:
以上内容仅供参考,部分文章是来自互联网以及大数据AI进行生成,内容仅供学习参考,不准确地方联系删除处理!Email:877757174@qq.com
我们采用的作品包括内容和图片部分来源于网络用户投稿,我们不确定投稿用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的权利,请联系我站将及时删除。
内容侵权、违法和不良信息举报,联系邮箱:877757174@qq.com
Copyright @ 2025 91发表网 All Rights Reserved 版权所有.陕ICP备2024028521号-2