I am having hard time completing my java lottery program. i am trying to write two public function play()and score. Play supposed to prompt the user to input $1 in the machine. Score should calculate the number of picks that match the winning number. Please help me. here is my code that is what i got so far.

Code:
import  java.util.*;


public class Lottery {

//private int[] winner;

//private int[]
...