Skip to content

Instantly share code, notes, and snippets.

@mrnirva
Created May 27, 2020 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrnirva/690eeda5a0ab2046f2790be6d99ddaf6 to your computer and use it in GitHub Desktop.
Save mrnirva/690eeda5a0ab2046f2790be6d99ddaf6 to your computer and use it in GitHub Desktop.
Random random = new Random();
// Burada minimum sayı 10(dahil) - maksimum sayı 25(dahil değil)
// Yani 10 ile 24 arası sayılar üretilecektir
int randomSayi = random.nextInt(10) + 25;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment