package chapter5;import java.util.Scanner;public class demo2 { public static void main(String[] args) { int f[]= {1,2,3,4,5,6,7,8,9,10}; Scanner sc=new Scanner(System.in); System.out.println("请输入m的值"); int m=sc.nextInt(); System.out.println("请输入n的值"); int n=sc.nextInt(); int newf[][]=zhuanhua(f,m,n); for(int i=0;i