Question: 0 . 1 0 - 9 . The class should have a methad that accepts ar arfoy of Sike integers that represent a persen's lottery
The class should have a methad that accepts ar arfoy of Sike integers that represent a persen's lottery picks. The method is compse the coresponding edements in the two armys and return the number of digls that mateh
Write a Lotzecy class that abks the user wo enter the numbers. The class should display the number of digits that match the randomly generaled botery numbers. If al the digits mateh desplay message peoclaiming the Uset a grand arize whner
Sample rur:
LutteryNumbers sray genarate randomtyk
table
Users array sinpi by usery
table
Oupout: There are tap matching digits lat index. and ndex
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
