Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been hired as an accountant in a small firm, which has 50 employees working in different departments with salaries in the range of

image text in transcribed You have been hired as an accountant in a small firm, which has 50 employees working in different departments with salaries in the range of $2000$20,000 per month. Your task is to write the ARM7 assembly language program, that deletes the lowest salary and the highest salary and finds the average of the remaining 48 salaries. Your program should contain three subroutines called 'Smallest', which deletes the smallest salary, 'Largest' that deletes the largest salary and 'Average', which calculates the average of the remaining 48 salaries. You are required to write all the subroutines used in this program. Use the data given below: 2400,7000,8230,4500,2123,19,900,8070,14050,3200,954719995,2340,8760,8765,9800,7845,3465,18090,19990,25102400,7000,8230,4500,2123,19,900,8070,14050,3200,95472400,7000,8230,4500,2123,19,900,8070,14050,3200,95472400,7000,8230,4500,2123,19,900,8070,14050,3200,9547

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Accounting questions