/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;
/**
 *
 * @author SAMUELE MILANI
 */
public class JavaApplication1 {
    /**
     * @param args the command line arguments
     */
    
public static void main(String[] args) {
int a[][]= new int [10][10];
for(int b=0;b
{
for(int e=0;e
{
m[b][e]=(int)(Math.random()*100);
if(m[b][e]%3==0)
{
System.out.print(" * ");
}
else
{
System.out.print(" O ");
}
}
System.out.println(" ");}}}
ho sostituito alcune variabili grazie lo potete trovare su wikipin 
Nessun commento:
Posta un commento