Computer Science Homework Help

DAT 210 University of Phoenix Java Lottery Program Question

 

I don’t know how to handle this Databases question and need guidance.

Respond to the following in a minimum of 175 words:

  • Describe how you would create a Java program for creating a lottery program using arrays and methods. If the user wants to purchase 5 lottery tickets, which looping structure would you use and why? Include the necessary code and code descriptions.