Multiple Choice
If you wanted the following function to return only the two values of 0 and 1, how would you re-write line 2?
1 ) function tossIt() {
2 ) return Math . random() ;
3 ) }
A) return Math . round() ;
B) return Math . round(Math . random() ) ;
C) return Math . round(random() ) ;
D) This cannot be done .
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: When you write code to ask the
Q4: If a function definition contains two parameters,
Q5: The HTML _ tag provides an area
Q6: When two variables have the same name,
Q7: A variable cannot be used as part
Q9: A(n) _ is a programming structure with
Q10: Output directly onto a web page from
Q11: What, if anything, is wrong with the
Q12: When a function is called, you write
Q13: Functions that are written so they can