Java Practice Assignment 1 – Lottery Number Generator

Java

Video is ready, Click Here to View ×


http://howtoprogramwithjava.com/java-practice-assignment-1/ This is a practice assignment that will help you to better understand how to program with Java. This practice assignment will simulate a lottery, where you will have to randomly generate 6 numbers and also take 6 numbers as input. Then the randomly generated numbers will be compared against the 6 numbers that were taken as input, and the matching numbers should be displayed in the console.

1 thought on “Java Practice Assignment 1 – Lottery Number Generator

  1. I can't get this to import.  I'm using NetBeans.  Do you have any suggestions?

    I've tried moving the actual java files into a new package but then I get a bunch of "red lines"  and nobody likes red lines, lol.

    Thanks!!

Leave a Reply

Your email address will not be published. Required fields are marked *