package com.aice.vecg;
import java.util.*;
class VeCg{
public static void main(String[] args){
int[][] myNum = new int[5][5];
int temp = 0;
Scanner in = new Scanner(System.in);
for(int i = 0; i < 5; i ++){
for(int j = 0; j < 5; j ++){
myNum[i][j] = in.nextInt();
}
}
System.out.println("Translate....");
for(int i = 0; i < 5; i ++){
for(int j = 0; j < 5; j ++){
if(j > temp){
myNum[i][j] = 0;
}
System.out.print(myNum[i][j] + " ");
}
temp ++;
System.out.println();
}
}
}
温馨提示:内容为网友见解,仅供参考