Question: PLEASE CODE IN ASSEMBLY LANGUAGE PROGRAM.PLEASE USE VISUAL STUDIO AND ASSEMBLY CODE(.asm) The format should be like : < < TITLE MASM Template (main.asm) INCLUDE
PLEASE CODE IN ASSEMBLY LANGUAGE PROGRAM.PLEASE USE VISUAL STUDIO AND ASSEMBLY CODE(.asm)
The format should be like :<<
TITLE MASM Template (main.asm)
INCLUDE Irvine32.inc
.data
.code
main PROC
exit
main ENDP
END main >>
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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
