DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
coin flip in java
public static int CoinFlip(){ int i; i = (int)(2*Math.random()); return i; }
PREVIOUS
NEXT
Tagged:
#coin
#flip
#java
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit