求一個n階方陣對角線元素之和

求一個n階方陣對角線元素之和? public class juzhen {  public static void main(String[] args) {   // TODO 自動生成的方法存根   int sum=0;   Scanner reader=new Scanner(System.in);   System.out.println("請輸入方陣的階數");   int n=read
相關文章
相關標籤/搜索