Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
math random from minus 1
JP Foster
Programming language:
Whatever
2021-07-13 15:15:19
0
Q:
math random from minus 1
Chad
Code:
Whatever
2021-07-07 03:58:28
var plusOrMinus = Math.random() < 0.5 ? -1 : 1;
1
Tags
random
Related
print("Minus - 12")
how to generate random between 0 and 9 in c
maths 1+1
random number 0 to 3
multiplying 0 then the answer has to be 0
New to Communities?
Join the community