Loops/Nested: Difference between revisions
Content added Content deleted
(add JavaScript) |
No edit summary |
||
Line 1: | Line 1: | ||
{{task|Iteration}} |
{{task|Iteration}} |
||
Show a nested loop which searches two-dimensional array filled with random number uniformly distributed on [1..20]. The loops iterate rows and columns of the array printing the iterated elements of, until the value 20 is met. |
Show a nested loop which searches two-dimensional array filled with random number uniformly distributed on [1..20]. The loops iterate rows and columns of the array printing the iterated elements of, until the value 20 is met. Specifically, this task also shows how to [[Loop/Break|break]] out of nested loops. |
||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
<lang ada> |
<lang ada> |