Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by Jose Navarro Gregori ( 14 years ago )
public static void main(String[] args) {
        int [][] pitagores=new int [10][10];
        for(int i=0;i<10;i++){
            pitagores[0][i]=i;
            pitagores[i][0]=i;
        }
        for(int i=1;i<10;i++){
            for(int j=1;j<10;j++){
                pitagores[i][j]=pitagores[0][i]*pitagores[j][0];
            }
        }        
        for(int i=0;i<10;i++){
            for(int j=0;j<10;j++){
                System.out.printf("=",pitagores[i][j]);
            }
                System.out.println("");
        }
    }

 

Revise this Paste

Parent: 43404
Children: 43407
Your Name: Code Language: