Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an Assembly language program that forms a 2-D array, 5x3 based on predetermined values of your choosing. The program will then print out the

Write an Assembly language program that forms a 2-D array, 5x3 based on predetermined values of your choosing. The program will then print out the array for the user to see and then present the user with a menu with the following options:

1. Replace a value

2. Calculate the sum of all values

3. Print out the 2D array

4. Exit

For the first option your program should then ask the user for which row and column in the array to replace, and what value will it be replaced with. For the second option your program should run through all values held in the 2D array and calculate their summation. For the third option your program should print out the contents of the 2D array one row at a time. When given the fourth option your program should simply exit.

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

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

=+. Show in Example 6.3 that P[IS, - L,| > L'/2+ 0.

Answered: 1 week ago

Question

5. Develop a strong introduction, a crucial part of all speeches

Answered: 1 week ago