Generate random numbers without repeating a value: Difference between revisions
Content added Content deleted
(Added Ada solution) |
m (Added heading comments) |
||
Line 103: | Line 103: | ||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
<syntaxhighlight lang="ada"> |
<syntaxhighlight lang="ada"> |
||
-- Generate the integers 1 .. 20 in random order |
|||
-- J. Carter 2023 Apr |
|||
with Ada.Numerics.Discrete_Random; |
with Ada.Numerics.Discrete_Random; |
||
with Ada.Text_IO; |
with Ada.Text_IO; |