Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

7. What is coaching? Is there only one type of coaching? Explain.

Answered: 1 week ago