Hi all I have an assigment but I'm stuck on the loop. I've checked other threads here but got a lot of complicated code that I haven't study yet (i.e.: "System . out .print" is still Screen . message("a") for me)
So I have 6 lotto numbers 1,2,3,4,5
And I need to compare what the user inputs with above values.
if 1 value matchs " no winner"
if 2 values match " no winner"
if 3 values match " winner 3 numbers"
if 4 values match " winner 4 numbers"
if 5 values match " winner 5 numbers"
if 6 values match "Jackpot"
It does not to need if inputted values are repeated....
Can anyone help me? Thanks