Write a program to calculate composite numbers. First, the user ¡s instructed to enter the number of composites to be displayed, and ¡s prompted to enter an integer ¡n the range [1 .400].Assembly Programming

Objectives:

1) Designing and implementing procedures

2) Designing and implementing loops

3) Writing nested loops

4) Understanding data validation

Problem Definition:

Write a program to calculate composite numbers. First, the user ¡s instructed to enter the number of

composites to be displayed, and ¡s prompted to enter an integer ¡n the range [1 .400]. The user

enters a number, n, and the program verifies that 1 S n  400. If n is out of range, the user

¡s reprompted until s/he enters a value ¡n the specified range. The program then calculates and displays

all of the composite numbers up to and including the nth composite. The results should be displayed

10 composites per line with at least 3 spaces between the numbers.

Requirements:

1) The programmer’s name must appear ¡n the output.

2) The counting ioop (1 to n) must be implemented using the MASM loop instruction:

Attachments:

Instructions Files

Expert's Answer

OR

Assembly Programming Experts

expert
Vivek Chauhan
Assembly Programming

62 Answers

expert
Sam Bingaman
Assembly Programming

94 Answers

View More Experts
Disclaimer

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.

Get Free Quote!

262 Experts Online