Hi every one, i have been given an assignment, and i need your help in making the programme. The question is
Write a program to simulate a lottery game where a set of the lottery numbers includes 6 different numbers from 1 to 49. A possible run may look e like:
Enter your lottery numbers: 3 10 18 23 37 41
The winning numbers randomly selected by the computer are: 3 12 18 27 37 49
You won 3 stars: 3 18 37
Enter your lottery numbers: 5 7 18 23 32 44
The winning numbers randomly selected by the computer are: 6 12 17 29 38 47
Your lottery numbers don't match any number. Thanks for playing the lottery game.