Question
You need to create a lottery simulator. The program must allow the user to enter the starting value, the ending value, and the number of
You need to create a lottery simulator. The program must allow the user to enter the starting value, the ending value, and the number of times to generate a random number. The program should store the inputs in variables and use them in the program. Requirements:
Display input messages to get the starting value, ending value, and number of times to generate a number.
Use a LOOP instruction to generate a random number between the start and end values and display the randomly generated number.
The program should display the lottery number generated for each loop iteration. For example, the user wants to run the lottery 100 times with the starting value of 1 and the ending value of 999 where each time the lottery generates a number it gets displayed on the screen.
Change the color of the background and text for your program using the Irvine Library function.
Place a comment at the beginning of your program
You need to zip the project folder that contains the Visual Studio solution and assembly source code (.asm), and upload the zip file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started