Hi,
I need someone to do me a simple lottery program. I want it to be done with basic Java and I want it to be continued the same way as in this.

import java.util.Scanner; 
 
public class lottery {
 
  private static Scanner scanner = new Scanner(System.in);
 
  public static void main(String[] args) {
 
      boolean[] allNumbers = new boolean[49];
      int[] rightLine = new int[7];
      int[] additionalNumbers = new int[3];
      int[] guessingLine = new int[7];
 
 
 
      empty(allNumbers);
 
 
 
      for(int i=0;i<rightLine.length; i++)
        rightLine[i]= generateNumber(allNumbers);
            for(int i=0;i<additionalNumbers.length; i++)
        additionalNumbers[i]= generateNumber(allNumbers);
 
 
// for checking
      print(rightLine);
      print(additionalNumbers);
 
 
 
  }
  private static void empty(boolean[] allNumbers) {
      for(int i = 0; i<allNumbers.length; i++) {
          allNumbers[i] = false;
      }
  }
 
  private static int generateNumber(boolean[] allNumbers) {
      boolean new = false;
      int a;
      do {
           a = (int)(49*Math.random());
           new = allNumbers[a]==false;
        }while(!new);
      allNumbers[a] = true;
      return (a+1);
  }
 
  private static void print(int[] rightLine) {
      for(int i=0; i<rightLine.length;i++){
          System.out.print(rightLine[i]+ " + ");
      }
 
      System.out.println("");
 
 
  }
  }

I'll pay $10 dollars for this (via PayPal or AlertPay) because it's extremely simple for a professional and making it should take far less than an hour. Please PM me if you're interested.


Instructions:
The computer generates 7 numbers between 1 Ė 49 and 3 additional numbers

Winnings
7 numbers right, 1 103 958.20 USD
6 numbers right and additional number right, 28 410.60 USD
6 numbers right, 1972.40 USD
5 numbers right, 60.40 USD
4 numbers right, 13.70 USD

You can choose three types of lottery
- normal, 7 numbers, 0.80 USD
- advanced, 10 numbers, 96 USD
- expert, 15 numbers, 189.60 USD

Make a program that
a)
generates the right line
lets the player decide what numbers to choose
checks the line and lets the player continue (keeps an record of the winnings)

b)
generates the right line
lets the player decide a line for himself/herself with all three types of lottery
checks the result and keeps an record of the winnings on all the three types when playing 100 / 1000 / 10000 / 'a number given by the player' times
Tells what one should except in winnings / losings on all three lottery types and tells how many times the player has won on what type and also tells how many rounds were played without winnings
Remember to check that the same number canít be raffled or chosen twice.