describe how you would create a java program for cr


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.