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
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