How to generate Random no without using Random class
How to generate Random no between two given numbers without using Random class.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Malvik BhavsarRank #617 · 3.9K reputationPosted Nov 3, 2019, 5:56 PM EST
Here the code for a Simple random generator without using Random class:
https://stackoverflow.com/questions/13442611/how-can-i-generate-a-random-number-without-use-of-math-randomMalvik BhavsarRank #617 · 3.9K reputationPosted Nov 4, 2019, 5:43 PM EST
Arun Kumar TiwariRank #3,157 · 454 reputationPosted Nov 4, 2019, 6:13 PM EST
Sanjit Kumar SinghRank #1,366 · 1.2K reputationPosted Nov 3, 2019, 6:02 PM EST
Sanjit Kumar SinghRank #1,366 · 1.2K reputationPosted Nov 4, 2019, 9:10 PM EST