Language is HTML and C#.
Please create a web appcalled LottoTicket.
Createan HTML form thatlooks like the photo attached below -
Then create the C# Code for the logic of the Web App.
Create a C# class that models the lotteryticket:
- It needs 4 numbers
- The winning numbers
- It needs to compare a ticket to the winning numbers
- Constructor must randomly generate the 4 winning numbersbetween 1 and 72
- Avoid any magic numbers in the code
- Make sure code runs without error and that itworks with the HTML form.
Lotto Number Generator First Number 10 Second Number 15 Third Number 16 Fourth Number 18 Number Matching 4 Check Ticket Clear ◄► ◄► ▸ ◄►
Language is HTML and C#. Please create a web app called LottoTicket. Create an HTML form that looks like the photo attac
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am