Write a test/driver program that:A- Creates two LottoTicket objects t1 and t2. First ticket with the owner name “Lola Bitar” and sequence “5-8-12-15” For the second object t2, prompt the user to user to enter the information and the use the secondconstructor.B- Change the price of the LottoTicket into 5.8.C- Change the owner ot t2 to “Hilal Issa”.D- Giving the winning numbers 5-8-12-15 check if any of those tickets is a winner and display only the first letterof the winner name (the owner).E- Display the purchase date of t1 and t2.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here