+ 6
🏆challenge🏆 random number generator!
Create a random number generator using any language!
11 odpowiedzi
+ 12
I have made a random template class in C++.
It can return char, float, int and more
https://code.sololearn.com/c69x0TgNRMpo/?ref=app
+ 5
My try :
Edit : Modified the function for chars and floats.
https://code.sololearn.com/crlfzHfpQ009/?ref=app
+ 4
https://code.sololearn.com/cSU5hWDS83wH/?ref=app
+ 4
I did a very basic one in C:
https://code.sololearn.com/cKTJ08QX6x6W
Additionally, I made another program by modifying the code slightly to generate a number between 0 and 9:
https://code.sololearn.com/csT9cwGR7SMQ
+ 4
https://code.sololearn.com/c50Bse4INq83/?ref=app
+ 3
Mandatory xkcd: https://xkcd.com/221/
You can count that as my entry :P
+ 3
Ruby (no built-ins):
https://code.sololearn.com/crSXDjPkVkd6/#rb
random coin toss (no built-ins) :
https://code.sololearn.com/cDA6mzT4eFeC/#rb
+ 2
my solution:
https://code.sololearn.com/Wq8uSyoVW3Wm/?ref=app
a similar challenge:
https://www.sololearn.com/discuss/938562/?ref=app
+ 2
https://en.m.wikipedia.org/wiki/List_of_random_number_generators
0
random num. generator...
without using BUILT-INS
input max range
it will print a random number from 1 to that range
https://code.sololearn.com/cq5vk3A4FW9n/?ref=app
https://code.sololearn.com/cLFvBboykb8P/?ref=app