Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Matriz 9x9
program numeroaleatorio; const maxfil = 9; maxcol = 9; var x, i, j, aux : integer; matriz : array [1..maxfil,1..maxcol] of integer; begin randomize(); // inicia generador de numeros aleatorios, para generar numeros aleatorios por cada ejecucion. aux := 1; for i:=1 to maxfil do begin for j:=1 to maxcol do begin x:=random(9); matriz[i,j] := x; end; end; // mostrar matriz for i:=1 to maxfil do begin for j:=1 to maxcol do begin write(matriz[i,j],' '); end; writeln; end; end.
run
|
edit
|
history
|
help
0
janja - naloga 1 - 25.1.2012
11.7.2013 naloga2
For2
2. Proba
test08
practica 11 ejercicio 5
practica 1 ejercicio 5
Kelipatan
janja - naloga 2 - 11.7.2013
basketball_player_training