Jump to content

Generate random numbers without repeating a value: Difference between revisions

m
Added heading comments
(Added Ada solution)
m (Added heading comments)
Line 103:
=={{header|Ada}}==
<syntaxhighlight lang="ada">
-- Generate the integers 1 .. 20 in random order
-- J. Carter 2023 Apr
 
with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
31

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.