|
|
@ -33,7 +33,7 @@ public class demo {
|
|
|
|
int targetBase = scanner.nextInt();
|
|
|
|
int targetBase = scanner.nextInt();
|
|
|
|
|
|
|
|
|
|
|
|
// 输入源进制数
|
|
|
|
// 输入源进制数
|
|
|
|
System.out.print("请输入进制数字: ");
|
|
|
|
System.out.print("请输入数字: ");
|
|
|
|
String sourceNumber = scanner.next();
|
|
|
|
String sourceNumber = scanner.next();
|
|
|
|
|
|
|
|
|
|
|
|
// 转换过程
|
|
|
|
// 转换过程
|
|
|
|