Last active
March 10, 2019 12:24
-
-
Save ezhov-da/fce03d286a4428bbda2433f325337e28 to your computer and use it in GitHub Desktop.
bat рандом
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /A MIN=13 | |
set /A MAX=17 | |
set /A SEED=%RANDOM% | |
set /A SEED_MIN_MAX=%MIN%+%SEED%-(%SEED%/(%MAX%-%MIN%+1))*(%MAX%-%MIN%+1) | |
echo %SEED_MIN_MAX% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment