Skip to content

Instantly share code, notes, and snippets.

@sokcuri
Created August 30, 2018 16:10
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 sokcuri/b34ce5e32c1b9cb22a2e001e5cd3c5df to your computer and use it in GitHub Desktop.
Save sokcuri/b34ce5e32c1b9cb22a2e001e5cd3c5df to your computer and use it in GitHub Desktop.
Bat 파일로 60/40 확률 동전 던지기 도박 프로그램을 만들기
@echo off
SET /A test=%RANDOM% %% 100
IF %test% leq 60 (
echo 앞면
) else (
echo 뒷면
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment