question archive EASY 68K (ASSEMBLY LANGUAGE) 1

EASY 68K (ASSEMBLY LANGUAGE) 1

Subject:Computer SciencePrice: Bought3

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]

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE