Question: WRITE THE CODES FOR THE FOLLOWING USING MASM615 COMPILER in assembly language Generate 45 random 3 digit numbers and stored them in MAJOR_ARRAY. While generating

WRITE THE CODES FOR THE FOLLOWING USING MASM615 COMPILER in assembly language

Generate 45 random 3 digit numbers and stored them in MAJOR_ARRAY. While generating the numbers, keep in mind the following restrictions.

a. Each generated number shall contain only 3 digits which are distinct. For example 123, 256, 789 etc. the number should not contain digits more or less than 3 and no digit is repeated as well.

b. The program must generate 5 numbers from each set given below.

i. 100 to 199

ii. 200 to 299

iii. 300 to 399

iv. 400 to 499

v. 500 to 599

vi. 600 to 699

2 / 2

vii. 700 to 799

viii. 800 to 800

ix. 900 to 999

c. Each set must contain 5 numbers that are present in array.

d. All numbers should be generated continuously using one loop having range between 100 and 999.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!