【汉源码头龙舟】【intellij idea解析源码】【神龙顶底 源码】变速精灵源码_变速精灵v1.5
2024-11-24 20:39:09 来源:{typename type="name"/} 分类:{typename type="name"/}
1.求变速精灵易语言的变速变速汉源码头龙舟源码
求变速精灵易语言的源码
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class test
{
public static void main(String[] args) throws IOException
{
System.out.print("输入圆盘的个数:");
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
int m=Integer.parseInt(str);
System.out.println("移动步骤:");
hanoi(m,'A','B','C');
}