A statistics teacher wishes to create a program on her calculator that generates a random even integer. The command built in the calculator to generate a random positive integer is RANDOM(a,b). This command generates a random integer between integers a and b (and including a and b). Which of the following lines of code will ensure that the random integer generated will be even?
RANDOM(a,b) * 2
Answers First: Get answers or Ask questions on subjects like Education, Technology, Social, LifeStyle and more.

- Please comment if you find a different answer.
Post a Comment
Post a Comment