<div dir="ltr"><div>         Dear Summer 2015 CSI Class:<br><br></div>In reply to a question about the check() function.<br><div><div><div><div><br>The check() function is invoked in both the draw() and main()
functions. In the draw() function, if check() returns false, then the
randomly generated number does not exist in the wins[] array already, so
it can be added to the array. In the main() function, if check()
returns true, then the user won the lottery game.<br><br></div><div>Notice, functions may be invoked in multiple places making the function code reusable. <br><br></div><div>Best Regards,<br></div><div>Dianne<br></div><div><br><br>
</div></div></div></div></div>