Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EASY 68K (ASSEMBLY LANGUAGE) 1. Initialize an array [14, 7, 1, 17, 10]. Then Print it out. (2) Find out greatest and least numbers in

EASY 68K (ASSEMBLY LANGUAGE)

1. Initialize an array [14, 7, 1, 17, 10]. Then

Print it out. (2)

Find out greatest and least numbers in this array and print them out in two lines. (3)

Desired output:

14 7 1 17 10 17 1

2. Initialize an array [1, 7, 13, 0, 11, 24, 8].

Load a number from keyboard. (1)

If the number is negative, print out odd elements of the array. Otherwise, print out even elements. Do not forget the commas. (4)

Example output:

1, 7, 13, 11

Or:

0, 24, 8

3. Given an array [3, -1, 0, 4]

Initialize the array. (1)

Print out these elements in ascending order. Do not forget commas and brackets. (6)

Example output:

[-1, 0, 3, 4]

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

Step: 3

blur-text-image

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

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions

Question

2. How will you handle the situation?

Answered: 1 week ago

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago